On Fri, Aug 20, 2010 at 10:58:20PM +0800, Randolph Chung wrote: > > The more idiomatic way to write this stuff is: > > ? ? ? ?{ "tlv320aic3007", AIC3X_MODEL_3007 } > > and then look at the id field in the probe() function. ?Could you send a > > followup patch doing that, please? > The second field in that struct is normally the i2c address, so this > seems a bit confusing... Are you sure about that? The definition of that struct is: struct i2c_device_id { char name[I2C_NAME_SIZE]; kernel_ulong_t driver_data /* Data private to the driver */ __attribute__((aligned(sizeof(kernel_ulong_t)))); }; _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel