diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-10-20 21:01:17 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-24 17:47:49 -0400 |
commit | a9d992ecb36f8ed00130eaf41a406fda03433d23 (patch) | |
tree | c3c20c0fb8c8b1e20abb0ed5f2e6ab0bb9b72583 /drivers/net/can | |
parent | b61f674051e58b394454602d492d5e3e3471facc (diff) |
can: at91_can: fix section mismatch warning
...by adding the correct annotation "__devinit" to the driver's probe
function.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can')
-rw-r--r-- | drivers/net/can/at91_can.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/at91_can.c b/drivers/net/can/at91_can.c index 1954ab003db7..61878135a9df 100644 --- a/drivers/net/can/at91_can.c +++ b/drivers/net/can/at91_can.c | |||
@@ -1027,7 +1027,7 @@ static const struct net_device_ops at91_netdev_ops = { | |||
1027 | .ndo_start_xmit = at91_start_xmit, | 1027 | .ndo_start_xmit = at91_start_xmit, |
1028 | }; | 1028 | }; |
1029 | 1029 | ||
1030 | static int __init at91_can_probe(struct platform_device *pdev) | 1030 | static int __devinit at91_can_probe(struct platform_device *pdev) |
1031 | { | 1031 | { |
1032 | struct net_device *dev; | 1032 | struct net_device *dev; |
1033 | struct at91_priv *priv; | 1033 | struct at91_priv *priv; |