Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Adrian Bunk and committed by
David S. Miller
3edd76ca aa782d31

+3 -3
+3 -3
drivers/net/sunqe.c
··· 747 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 752 u8 bsizes, bsizes_more; 753 753 ··· 767 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 772 struct sbus_dev *qec_sdev = child_sdev->parent; 773 773 struct sunqec *qecp; ··· 823 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 828 static unsigned version_printed; 829 829 struct net_device *dev;