X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=sound%2Fi2c%2Fi2c.c;h=e8fa7e1a68e8da63f2e54f70d8cf5ebcf661dbe2;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=e31f491056592cb415f60dc78a95f6fd2e1b7a87;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/sound/i2c/i2c.c b/sound/i2c/i2c.c index e31f49105..e8fa7e1a6 100644 --- a/sound/i2c/i2c.c +++ b/sound/i2c/i2c.c @@ -94,7 +94,7 @@ int snd_i2c_bus_create(snd_card_t *card, const char *name, snd_i2c_bus_t *master bus->master = master; } strlcpy(bus->name, name, sizeof(bus->name)); - if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, bus, &ops)) < 0) { + if ((err = snd_device_new(card, SNDRV_DEV_BUS, bus, &ops)) < 0) { snd_i2c_bus_free(bus); return err; }