From: Axel Lin <[email protected]> The device table is required to load modules based on modaliases.
Signed-off-by: Axel Lin <[email protected]> Cc: Shubhrajyoti D <[email protected]> Cc: Christoph Mair <[email protected]> Cc: Jonathan Cameron <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> --- drivers/misc/bmp085.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/misc/bmp085.c~misc-bmp085-add-module_device_table drivers/misc/bmp085.c --- a/drivers/misc/bmp085.c~misc-bmp085-add-module_device_table +++ a/drivers/misc/bmp085.c @@ -449,6 +449,7 @@ static const struct i2c_device_id bmp085 { "bmp085", 0 }, { } }; +MODULE_DEVICE_TABLE(i2c, bmp085_id); static struct i2c_driver bmp085_driver = { .driver = { _ _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
