* + drivers-leds-leds-lm3530c-add-module_device_table.patch added to -mm tree
@ 2011-05-12 19:43 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2011-05-12 19:43 UTC (permalink / raw)
To: mm-commits; +Cc: axel.lin, rpurdie, shreshthakumar.sahu
The patch titled
drivers/leds/leds-lm3530.c: add MODULE_DEVICE_TABLE
has been added to the -mm tree. Its filename is
drivers-leds-leds-lm3530c-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/leds/leds-lm3530.c: add MODULE_DEVICE_TABLE
From: Axel Lin <axel.lin@gmail.com>
Adding the necessary MODULE_DEVICE_TABLE() information allows the driver
to be automatically loaded by udev.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Shreshtha Kumar SAHU <shreshthakumar.sahu@stericsson.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/leds/leds-lm3530.c | 1 +
1 file changed, 1 insertion(+)
diff -puN drivers/leds/leds-lm3530.c~drivers-leds-leds-lm3530c-add-module_device_table drivers/leds/leds-lm3530.c
--- a/drivers/leds/leds-lm3530.c~drivers-leds-leds-lm3530c-add-module_device_table
+++ a/drivers/leds/leds-lm3530.c
@@ -349,6 +349,7 @@ static const struct i2c_device_id lm3530
{LM3530_NAME, 0},
{}
};
+MODULE_DEVICE_TABLE(i2c, lm3530_id);
static struct i2c_driver lm3530_i2c_driver = {
.probe = lm3530_probe,
_
Patches currently in -mm which might be from axel.lin@gmail.com are
origin.patch
drivers-leds-leds-lm3530c-add-module_device_table.patch
linux-next.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-12 19:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-12 19:43 + drivers-leds-leds-lm3530c-add-module_device_table.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).