Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97e419a0 authored by Axel Lin's avatar Axel Lin Committed by Linus Torvalds
Browse files

drivers/misc/bmp085.c: add MODULE_DEVICE_TABLE



The device table is required to load modules based on modaliases.

Signed-off-by: default avatarAxel 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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b75f38d6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 = {