Skip to content

Commit

Permalink
net/sunqe.c section fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Feb 3, 2008
1 parent aa782d3 commit 3edd76c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/sunqe.c
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ static inline void qec_init_once(struct sunqec *qecp, struct sbus_dev *qsdev)
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;

Expand All @@ -767,7 +767,7 @@ static u8 __init qec_get_burst(struct device_node *dp)
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 sunqec *qecp;
Expand Down Expand Up @@ -823,7 +823,7 @@ static struct sunqec * __init get_qec(struct sbus_dev *child_sdev)
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;
struct net_device *dev;
Expand Down

0 comments on commit 3edd76c

Please sign in to comment.