Commit b54e4f83 authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller

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: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent de11743e
...@@ -906,7 +906,7 @@ static char *ibmlana_adapter_names[] __devinitdata = { ...@@ -906,7 +906,7 @@ static char *ibmlana_adapter_names[] __devinitdata = {
NULL NULL
}; };
static int ibmlana_init_one(struct device *kdev) static int __devinit ibmlana_init_one(struct device *kdev)
{ {
struct mca_device *mdev = to_mca_device(kdev); struct mca_device *mdev = to_mca_device(kdev);
struct net_device *dev; struct net_device *dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment