]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/i2c/i2c.c
Basic implementation of 'make headers_install'
[linux-2.6-omap-h63xx.git] / sound / i2c / i2c.c
index c4e1f2c23ced404a2202b83fc2ddbe0188869d7d..edfe76fb007461dc425acd8663e40d8193950174 100644 (file)
@@ -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;
-       init_MUTEX(&bus->lock_mutex);
+       mutex_init(&bus->lock_mutex);
        INIT_LIST_HEAD(&bus->devices);
        INIT_LIST_HEAD(&bus->buses);
        bus->card = card;