提交 3edd76ca 编写于 作者: A Adrian Bunk 提交者: David S. Miller

net/sunqe.c section fix

This patch fixes the following section mismatch:

<--  snip  -->

...
WARNING: drivers/net/sunqe.o(.devinit.text+0x4): Section mismatch in reference from the function qec_sbus_probe() to the function .init.text:qec_ether_init()
...

<--  snip  -->
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 aa782d31
...@@ -747,7 +747,7 @@ static inline void qec_init_once(struct sunqec *qecp, struct sbus_dev *qsdev) ...@@ -747,7 +747,7 @@ static inline void qec_init_once(struct sunqec *qecp, struct sbus_dev *qsdev)
qecp->gregs + GLOB_RSIZE); qecp->gregs + GLOB_RSIZE);
} }
static u8 __init qec_get_burst(struct device_node *dp) static u8 __devinit qec_get_burst(struct device_node *dp)
{ {
u8 bsizes, bsizes_more; u8 bsizes, bsizes_more;
...@@ -767,7 +767,7 @@ static u8 __init qec_get_burst(struct device_node *dp) ...@@ -767,7 +767,7 @@ static u8 __init qec_get_burst(struct device_node *dp)
return bsizes; return bsizes;
} }
static struct sunqec * __init get_qec(struct sbus_dev *child_sdev) static struct sunqec * __devinit get_qec(struct sbus_dev *child_sdev)
{ {
struct sbus_dev *qec_sdev = child_sdev->parent; struct sbus_dev *qec_sdev = child_sdev->parent;
struct sunqec *qecp; struct sunqec *qecp;
...@@ -823,7 +823,7 @@ static struct sunqec * __init get_qec(struct sbus_dev *child_sdev) ...@@ -823,7 +823,7 @@ static struct sunqec * __init get_qec(struct sbus_dev *child_sdev)
return NULL; return NULL;
} }
static int __init qec_ether_init(struct sbus_dev *sdev) static int __devinit qec_ether_init(struct sbus_dev *sdev)
{ {
static unsigned version_printed; static unsigned version_printed;
struct net_device *dev; struct net_device *dev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册