diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-30 15:03:39 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-03 07:26:14 -0500 |
commit | 3edd76caf4d1cda9cf84c5c6845f80f996f36081 (patch) | |
tree | 2fbc4c48c8ffbdcb5c21ff7c1142d58844b50ef5 | |
parent | aa782d3195c8a1f6da9a44f1862f098f41bfe8a2 (diff) |
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: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/sunqe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/sunqe.c b/drivers/net/sunqe.c index ff23c6489efd..e811331d4608 100644 --- a/drivers/net/sunqe.c +++ b/drivers/net/sunqe.c | |||
@@ -747,7 +747,7 @@ static inline void qec_init_once(struct sunqec *qecp, struct sbus_dev *qsdev) | |||
747 | qecp->gregs + GLOB_RSIZE); | 747 | qecp->gregs + GLOB_RSIZE); |
748 | } | 748 | } |
749 | 749 | ||
750 | static u8 __init qec_get_burst(struct device_node *dp) | 750 | static u8 __devinit qec_get_burst(struct device_node *dp) |
751 | { | 751 | { |
752 | u8 bsizes, bsizes_more; | 752 | u8 bsizes, bsizes_more; |
753 | 753 | ||
@@ -767,7 +767,7 @@ static u8 __init qec_get_burst(struct device_node *dp) | |||
767 | return bsizes; | 767 | return bsizes; |
768 | } | 768 | } |
769 | 769 | ||
770 | static struct sunqec * __init get_qec(struct sbus_dev *child_sdev) | 770 | static struct sunqec * __devinit get_qec(struct sbus_dev *child_sdev) |
771 | { | 771 | { |
772 | struct sbus_dev *qec_sdev = child_sdev->parent; | 772 | struct sbus_dev *qec_sdev = child_sdev->parent; |
773 | struct sunqec *qecp; | 773 | struct sunqec *qecp; |
@@ -823,7 +823,7 @@ fail: | |||
823 | return NULL; | 823 | return NULL; |
824 | } | 824 | } |
825 | 825 | ||
826 | static int __init qec_ether_init(struct sbus_dev *sdev) | 826 | static int __devinit qec_ether_init(struct sbus_dev *sdev) |
827 | { | 827 | { |
828 | static unsigned version_printed; | 828 | static unsigned version_printed; |
829 | struct net_device *dev; | 829 | struct net_device *dev; |