+ misc-bmp085-add-module_device_table.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     drivers/misc/bmp085.c: add MODULE_DEVICE_TABLE
has been added to the -mm tree.  Its filename is
     misc-bmp085-add-module_device_table.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: drivers/misc/bmp085.c: add MODULE_DEVICE_TABLE
From: Axel Lin <axel.lin@xxxxxxxxx>

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

Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
Cc: Shubhrajyoti D <shubhrajyoti@xxxxxx>
Cc: Christoph Mair <christoph.mair@xxxxxxxxx>
Cc: Jonathan Cameron <jic23@xxxxxxxxx>
Cc: <stable@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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 = {
_

Patches currently in -mm which might be from axel.lin@xxxxxxxxx are

origin.patch
drivers-rtc-rtc-s3cc-fix-prototype-for-s3c_rtc_setaie.patch
misc-bmp085-add-module_device_table.patch
linux-next.patch
drivers-video-backlight-jornada720_c-make-needlessly-global-symbols-static.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux