mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 05:34:13 +08:00
[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>
This commit is contained in:
parent
0d0ab7fe4c
commit
8104a9a9c9
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user