linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] regulator: Add MODULE_DEVICE_TABLE to max8997 and max8998
@ 2011-03-26 15:28 Axel Lin
  2011-03-26 17:17 ` Mark Brown
  2011-03-27 10:53 ` Liam Girdwood
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2011-03-26 15:28 UTC (permalink / raw)
  To: linux-kernel
  Cc: MyungJoo Ham, Kyungmin Park, MyungJoo Ham, Kyungmin Park,
	Marek Szyprowski, Liam Girdwood, Mark Brown, Marek Szyprowski,
	Liam Girdwood, Mark Brown

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

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: MyungJoo Ham <myungjoo.ham@smasung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>

---
 drivers/regulator/max8997.c |    1 +
 drivers/regulator/max8998.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/regulator/max8997.c b/drivers/regulator/max8997.c
index 01ef7e9..77e0cfb 100644
--- a/drivers/regulator/max8997.c
+++ b/drivers/regulator/max8997.c
@@ -1185,6 +1185,7 @@ static const struct platform_device_id max8997_pmic_id[] = {
 	{ "max8997-pmic", 0},
 	{ },
 };
+MODULE_DEVICE_TABLE(platform, max8997_pmic_id);
 
 static struct platform_driver max8997_pmic_driver = {
 	.driver = {
diff --git a/drivers/regulator/max8998.c b/drivers/regulator/max8998.c
index 0ec49ca..4341026 100644
--- a/drivers/regulator/max8998.c
+++ b/drivers/regulator/max8998.c
@@ -887,6 +887,7 @@ static const struct platform_device_id max8998_pmic_id[] = {
 	{ "lp3974-pmic", TYPE_LP3974 },
 	{ }
 };
+MODULE_DEVICE_TABLE(platform, max8998_pmic_id);
 
 static struct platform_driver max8998_pmic_driver = {
 	.driver = {
-- 
1.7.1




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] regulator: Add MODULE_DEVICE_TABLE to max8997 and max8998
  2011-03-26 15:28 [PATCH] regulator: Add MODULE_DEVICE_TABLE to max8997 and max8998 Axel Lin
@ 2011-03-26 17:17 ` Mark Brown
  2011-03-27 10:53 ` Liam Girdwood
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-03-26 17:17 UTC (permalink / raw)
  To: Axel Lin
  Cc: linux-kernel, MyungJoo Ham, Kyungmin Park, Marek Szyprowski,
	Liam Girdwood

On Sat, Mar 26, 2011 at 11:28:42PM +0800, Axel Lin wrote:
> The device table is required to load modules based on modaliases.
> 
> Signed-off-by: Axel Lin <axel.lin@gmail.com>

Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] regulator: Add MODULE_DEVICE_TABLE to max8997 and max8998
  2011-03-26 15:28 [PATCH] regulator: Add MODULE_DEVICE_TABLE to max8997 and max8998 Axel Lin
  2011-03-26 17:17 ` Mark Brown
@ 2011-03-27 10:53 ` Liam Girdwood
  1 sibling, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2011-03-27 10:53 UTC (permalink / raw)
  To: Axel Lin
  Cc: linux-kernel, MyungJoo Ham, Kyungmin Park, Marek Szyprowski,
	Mark Brown

On Sat, 2011-03-26 at 23:28 +0800, Axel Lin wrote:
> The device table is required to load modules based on modaliases.
> 
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> Cc: MyungJoo Ham <myungjoo.ham@smasung.com>
> Cc: Kyungmin Park <kyungmin.park@samsung.com>
> Cc: Marek Szyprowski <m.szyprowski@samsung.com>
> 
> ---

Applied.

Thanks

Liam


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-27 10:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-26 15:28 [PATCH] regulator: Add MODULE_DEVICE_TABLE to max8997 and max8998 Axel Lin
2011-03-26 17:17 ` Mark Brown
2011-03-27 10:53 ` Liam Girdwood

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).