linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Input: mma8450 - fix module device table type
@ 2011-08-07 14:14 Axel Lin
  2011-08-09  6:46 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-08-07 14:14 UTC (permalink / raw)
  To: linux-kernel; +Cc: Shawn Guo, Dmitry Torokhov, Eric Miao, Sammy He, linux-input

The module device table for of_device_id should use "of" type.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/input/misc/mma8450.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/input/misc/mma8450.c b/drivers/input/misc/mma8450.c
index 6c76cf7..0794778 100644
--- a/drivers/input/misc/mma8450.c
+++ b/drivers/input/misc/mma8450.c
@@ -234,7 +234,7 @@ static const struct of_device_id mma8450_dt_ids[] = {
 	{ .compatible = "fsl,mma8450", },
 	{ /* sentinel */ }
 };
-MODULE_DEVICE_TABLE(i2c, mma8450_dt_ids);
+MODULE_DEVICE_TABLE(of, mma8450_dt_ids);
 
 static struct i2c_driver mma8450_driver = {
 	.driver = {
-- 
1.7.4.1




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

* Re: [PATCH] Input: mma8450 - fix module device table type
  2011-08-07 14:14 [PATCH] Input: mma8450 - fix module device table type Axel Lin
@ 2011-08-09  6:46 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2011-08-09  6:46 UTC (permalink / raw)
  To: Axel Lin; +Cc: linux-kernel, Shawn Guo, Eric Miao, Sammy He, linux-input

On Sun, Aug 07, 2011 at 10:14:47PM +0800, Axel Lin wrote:
> The module device table for of_device_id should use "of" type.
> 

Applied, thanks Axel.

-- 
Dmitry

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

end of thread, other threads:[~2011-08-09  6:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-07 14:14 [PATCH] Input: mma8450 - fix module device table type Axel Lin
2011-08-09  6:46 ` Dmitry Torokhov

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