Re: [PATCH] I2C update for 2.6.10-rc1

Greg KH
2004-11-09T05:47:35Z

ChangeSet 1.2014.1.12, 2004/11/05 13:47:25-08:00, greg@kroah.com

I2C: fix MODULE_PARAM warning in pc87360.c driver

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>

drivers/i2c/chips/pc87360.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -Nru a/drivers/i2c/chips/pc87360.c b/drivers/i2c/chips/pc87360.c
--- a/drivers/i2c/chips/pc87360.c 2004-11-08 18:55:27 -08:00
+++ b/drivers/i2c/chips/pc87360.c 2004-11-08 18:55:27 -08:00
@@ -65,7 +65,7 @@
};

static int init = 1;
-MODULE_PARM(init, "i");
+module_param(init, int, 0);
MODULE_PARM_DESC(init,
"Chip initialization level:\n"
" 0: None\n"