projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b61f674
)
can: at91_can: fix section mismatch warning
author
Marc Kleine-Budde
<mkl@pengutronix.de>
Thu, 21 Oct 2010 01:01:17 +0000
(
01:01
+0000)
committer
David S. Miller
<davem@davemloft.net>
Sun, 24 Oct 2010 21:47:49 +0000
(14:47 -0700)
...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>
drivers/net/can/at91_can.c
patch
|
blob
|
history
diff --git
a/drivers/net/can/at91_can.c
b/drivers/net/can/at91_can.c
index
1954ab0
..
6187813
100644
(file)
--- 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 = {
.ndo_start_xmit = at91_start_xmit,
};
-static int __init at91_can_probe(struct platform_device *pdev)
+static int __
dev
init at91_can_probe(struct platform_device *pdev)
{
struct net_device *dev;
struct at91_priv *priv;