commit: 97e419a082461f8a3a0818834eb88ad41219a1da From: Axel Lin <[email protected]> Date: Fri, 4 Mar 2011 17:36:22 -0800 Subject: [PATCH] drivers/misc/bmp085.c: add MODULE_DEVICE_TABLE
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]> Signed-off-by: Linus Torvalds <[email protected]> --- drivers/misc/bmp085.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/misc/bmp085.c b/drivers/misc/bmp085.c index 63ee4c1..b6e1c9a 100644 --- a/drivers/misc/bmp085.c +++ b/drivers/misc/bmp085.c @@ -449,6 +449,7 @@ static const struct i2c_device_id bmp085_id[] = { { "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
