aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2009-07-21 21:16:51 -0400
committerDavid S. Miller <davem@davemloft.net>2009-07-22 12:33:08 -0400
commitde72e5de062e48a992d6cafe2291a82fe498d641 (patch)
tree96fee65eadf308488acbf4eab38dc810cec581c3 /drivers/net
parentfa77406aee9d33f35c7202dcd83436feb12d9fc3 (diff)
net: KS8851 needs to depend on MII
fix this build error when CONFIG_MII is not set drivers/net/ks8851.c:999: undefined reference to `generic_mii_ioctl' drivers/net/ks8851.c:1050: undefined reference to `mii_link_ok' drivers/net/ks8851.c:1056: undefined reference to `mii_nway_restart' drivers/net/ks8851.c:1044: undefined reference to `mii_ethtool_sset' drivers/net/ks8851.c:1038: undefined reference to `mii_ethtool_gset' Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Acked-by: Ben Dooks <ben@simtec.co.uk>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index b5a7513df4eb..5f6509a5f640 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -1732,6 +1732,7 @@ config KS8842
1732config KS8851 1732config KS8851
1733 tristate "Micrel KS8851 SPI" 1733 tristate "Micrel KS8851 SPI"
1734 depends on SPI 1734 depends on SPI
1735 select MII
1735 help 1736 help
1736 SPI driver for Micrel KS8851 SPI attached network chip. 1737 SPI driver for Micrel KS8851 SPI attached network chip.
1737 1738