projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d0ab7f
)
[PATCH] i2c: Use module_param in i2c-algo-sibyte
author
Eric Sesterhenn
<snakebyte@gmx.de>
Mon, 9 Jan 2006 22:09:57 +0000
(23:09 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 6 Feb 2006 20:02:15 +0000
(12:02 -0800)
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>
drivers/i2c/algos/i2c-algo-sibyte.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/algos/i2c-algo-sibyte.c
b/drivers/i2c/algos/i2c-algo-sibyte.c
index 938848ae162d4451b401abedfb7cbfc5b35d7733..3df3f09995c254806ed8c265eb3dfcb4c8cd08df 100644
(file)
--- 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");