X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Fi2c%2Fi2c.c;h=c4e1f2c23ced404a2202b83fc2ddbe0188869d7d;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=edfe76fb007461dc425acd8663e40d8193950174;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/sound/i2c/i2c.c b/sound/i2c/i2c.c index edfe76fb0..c4e1f2c23 100644 --- a/sound/i2c/i2c.c +++ b/sound/i2c/i2c.c @@ -88,7 +88,7 @@ int snd_i2c_bus_create(struct snd_card *card, const char *name, bus = kzalloc(sizeof(*bus), GFP_KERNEL); if (bus == NULL) return -ENOMEM; - mutex_init(&bus->lock_mutex); + init_MUTEX(&bus->lock_mutex); INIT_LIST_HEAD(&bus->devices); INIT_LIST_HEAD(&bus->buses); bus->card = card;