mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
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>
This commit is contained in:
parent
b61f674051
commit
a9d992ecb3
1 changed files with 1 additions and 1 deletions
|
@ -1027,7 +1027,7 @@ static const struct net_device_ops at91_netdev_ops = {
|
||||||
.ndo_start_xmit = at91_start_xmit,
|
.ndo_start_xmit = at91_start_xmit,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init at91_can_probe(struct platform_device *pdev)
|
static int __devinit at91_can_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct net_device *dev;
|
struct net_device *dev;
|
||||||
struct at91_priv *priv;
|
struct at91_priv *priv;
|
||||||
|
|
Loading…
Reference in a new issue