netdev: mdio-octeon: Fix section mismatch errors.
authorDavid Daney <ddaney@caviumnetworks.com>
Thu, 24 Jun 2010 09:14:48 +0000 (09:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jun 2010 06:58:54 +0000 (23:58 -0700)
commita71e8329170ece5f684aa363dfa69828cbfd5184
treeeab1a607bd713c5045cc47873696780af112cb63
parentd30b181bd6d047b39235a0d8e26de422d9d05b25
netdev: mdio-octeon: Fix section mismatch errors.

We started getting:

WARNING: vmlinux.o(.data+0x20bd0): Section mismatch in reference from
the variable octeon_mdiobus_driver to the function
.init.text:octeon_mdiobus_probe()

This fixes it.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-octeon.c