summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorEric Sesterhenn <snakebyte@gmx.de>2006-01-09 23:09:57 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-02-06 21:02:15 +0100
commit8104a9a9c9ad8c849d931c46ef6841b23d1fc729 (patch)
treeaa3eedb4db3ab3cb79a74208971f756b3ab99155 /drivers/i2c
parent[PATCH] hwmon: Inline w83792d register access functions (diff)
downloadlinux-8104a9a9c9ad8c849d931c46ef6841b23d1fc729.tar.xz
linux-8104a9a9c9ad8c849d931c46ef6841b23d1fc729.zip
[PATCH] i2c: Use module_param in i2c-algo-sibyte
this patch changes MODULE_PARM usage to module_param in i2c-algo-sibyte.c Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/algos/i2c-algo-sibyte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/algos/i2c-algo-sibyte.c b/drivers/i2c/algos/i2c-algo-sibyte.c
index 938848ae162d..3df3f09995c2 100644
--- a/drivers/i2c/algos/i2c-algo-sibyte.c
+++ b/drivers/i2c/algos/i2c-algo-sibyte.c
@@ -202,7 +202,7 @@ EXPORT_SYMBOL(i2c_sibyte_del_bus);
#ifdef MODULE
MODULE_AUTHOR("Kip Walker, Broadcom Corp.");
MODULE_DESCRIPTION("SiByte I2C-Bus algorithm");
-MODULE_PARM(bit_scan, "i");
+module_param(bit_scan, int, 0);
MODULE_PARM_DESC(bit_scan, "Scan for active chips on the bus");
MODULE_LICENSE("GPL");