summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/82xx/Kconfig
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2016-07-25 21:30:10 -0700
committerScott Wood <oss@buserror.net>2016-09-24 23:59:47 -0500
commit49bf9279cd3edb9d7178223f52d4656dbf2e46b5 (patch)
treef28967c200efc0d4c9ed7feb243a99a25aadda41 /arch/powerpc/platforms/82xx/Kconfig
parent93c4ea38a19815d59f2f2afe8414ba27288b8b70 (diff)
downloadlinux-49bf9279cd3edb9d7178223f52d4656dbf2e46b5.tar.gz
linux-49bf9279cd3edb9d7178223f52d4656dbf2e46b5.tar.bz2
linux-49bf9279cd3edb9d7178223f52d4656dbf2e46b5.zip
powerpc/e8248e: Select PHYLIB only if NETDEVICES is enabled
Select PHYLIB only if NETDEVICES is enabled and MDIO_BITBANG only if PHYLIB is present to avoid warnings from Kconfig. To prevent undefined references during linking register MDIO driver only if CONFIG_MDIO_BITBANG is enabled. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'arch/powerpc/platforms/82xx/Kconfig')
-rw-r--r--arch/powerpc/platforms/82xx/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/82xx/Kconfig b/arch/powerpc/platforms/82xx/Kconfig
index 7c7df4003820..994d1a959e20 100644
--- a/arch/powerpc/platforms/82xx/Kconfig
+++ b/arch/powerpc/platforms/82xx/Kconfig
@@ -30,8 +30,8 @@ config EP8248E
select 8272
select 8260
select FSL_SOC
- select PHYLIB
- select MDIO_BITBANG
+ select PHYLIB if NETDEVICES
+ select MDIO_BITBANG if PHYLIB
help
This enables support for the Embedded Planet EP8248E board.