projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80cd3a8
)
[PATCH] scx200_acb: Mark scx200_acb_probe __init
author
Jean Delvare
<khali@linux-fr.org>
Mon, 12 Jun 2006 19:46:04 +0000
(21:46 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 22 Jun 2006 18:10:35 +0000
(11:10 -0700)
In i2c bus driver scx200_acb, function scx200_acb_probe can be
tagged __init.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/busses/scx200_acb.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/scx200_acb.c
b/drivers/i2c/busses/scx200_acb.c
index 09b4586f3bd3854900945f09179f44b118e9a2cc..22a3eda04166e3b7841d0fd5c897aa16851b20fa 100644
(file)
--- a/
drivers/i2c/busses/scx200_acb.c
+++ b/
drivers/i2c/busses/scx200_acb.c
@@
-384,7
+384,7
@@
static struct i2c_algorithm scx200_acb_algorithm = {
static struct scx200_acb_iface *scx200_acb_list;
static DECLARE_MUTEX(scx200_acb_list_mutex);
-static int scx200_acb_probe(struct scx200_acb_iface *iface)
+static
__init
int scx200_acb_probe(struct scx200_acb_iface *iface)
{
u8 val;