aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-03-04 17:36:22 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-04 17:53:38 -0800
commit97e419a082461f8a3a0818834eb88ad41219a1da (patch)
treee83b8940e221ab456fd842336b6a70b3b5f3c90e /drivers/misc
parentb75f38d659e6fc747eda64cb72f3920e29dd44a4 (diff)
downloadkernel_samsung_crespo-97e419a082461f8a3a0818834eb88ad41219a1da.zip
kernel_samsung_crespo-97e419a082461f8a3a0818834eb88ad41219a1da.tar.gz
kernel_samsung_crespo-97e419a082461f8a3a0818834eb88ad41219a1da.tar.bz2
drivers/misc/bmp085.c: add MODULE_DEVICE_TABLE
The device table is required to load modules based on modaliases. Signed-off-by: Axel Lin <axel.lin@gmail.com> Cc: Shubhrajyoti D <shubhrajyoti@ti.com> Cc: Christoph Mair <christoph.mair@gmail.com> Cc: Jonathan Cameron <jic23@cam.ac.uk> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/bmp085.c1
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 = {