diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-30 15:02:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-03 07:26:12 -0500 |
commit | b54e4f8346c0c94c5393738e2ce95faf5ca30acc (patch) | |
tree | 3fca6eb9ae810bc206724bfa1f7d9a11e5bc42eb /drivers/net/ibmlana.c | |
parent | de11743e23b83e2ddf99a757ab2ebb62bd4c29f0 (diff) |
ibmlana_init_one() must be __devinit
This patch fixes the following section mismatch:
<-- snip -->
...
WARNING: drivers/net/built-in.o(.text+0x1148a5): Section mismatch in reference from the function ibmlana_init_one() to the variable .init.data:ibmlana_adapter_names
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ibmlana.c')
-rw-r--r-- | drivers/net/ibmlana.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ibmlana.c b/drivers/net/ibmlana.c index 22a1f2992d2f..95e3464068db 100644 --- a/drivers/net/ibmlana.c +++ b/drivers/net/ibmlana.c | |||
@@ -906,7 +906,7 @@ static char *ibmlana_adapter_names[] __devinitdata = { | |||
906 | NULL | 906 | NULL |
907 | }; | 907 | }; |
908 | 908 | ||
909 | static int ibmlana_init_one(struct device *kdev) | 909 | static int __devinit ibmlana_init_one(struct device *kdev) |
910 | { | 910 | { |
911 | struct mca_device *mdev = to_mca_device(kdev); | 911 | struct mca_device *mdev = to_mca_device(kdev); |
912 | struct net_device *dev; | 912 | struct net_device *dev; |