diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2016-07-26 07:30:09 +0300 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-09-25 07:59:41 +0300 |
commit | 93c4ea38a19815d59f2f2afe8414ba27288b8b70 (patch) | |
tree | 661b4b3235e876933b1b55220e4e5fdf35265f81 /arch/powerpc/platforms/85xx/Kconfig | |
parent | ddc6cd0d70a6f958b2c01758ee53279d36db2234 (diff) | |
download | linux-93c4ea38a19815d59f2f2afe8414ba27288b8b70.tar.xz |
powerpc/mpc85xx_mds: Select PHYLIB only if NETDEVICES is enabled
PHYLIB depends on NETDEVICES, so to avoid unmet dependencies warning
from Kconfig it needs to be selected conditionally.
Also add checks if PHYLIB is built-in to avoid undefined references to
PHYLIB's symbols.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'arch/powerpc/platforms/85xx/Kconfig')
-rw-r--r-- | arch/powerpc/platforms/85xx/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig index df25a3ed489d..9dc1d28975b9 100644 --- a/arch/powerpc/platforms/85xx/Kconfig +++ b/arch/powerpc/platforms/85xx/Kconfig @@ -72,7 +72,7 @@ config MPC85xx_CDS config MPC85xx_MDS bool "Freescale MPC85xx MDS" select DEFAULT_UIMAGE - select PHYLIB + select PHYLIB if NETDEVICES select HAS_RAPIDIO select SWIOTLB help |