Skip to content

Commit 7a6c9db

Browse files
geertuarndb
authored andcommitted
soc: ixp4xx: Protect IXP4xx SoC drivers by ARCH_IXP4XX || COMPILE_TEST
The move of the IXP4xx SoC drivers exposed their config options on all platforms. Fix this by wrapping them inside an ARCH_IXP4XX or COMPILE_TEST block. Link: https://lore.kernel.org/r/20190823090352.12243-1-linus.walleij@linaro.org Fixes: fcf2d89 ("ARM: ixp4xx: Move NPE and QMGR to drivers/soc") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 4840289 commit 7a6c9db

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎drivers/soc/ixp4xx/Kconfig‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0-only
2+
if ARCH_IXP4XX || COMPILE_TEST
3+
24
menu "IXP4xx SoC drivers"
35

46
config IXP4XX_QMGR
@@ -15,3 +17,5 @@ config IXP4XX_NPE
1517
and is automatically selected by Ethernet and HSS drivers.
1618

1719
endmenu
20+
21+
endif

0 commit comments

Comments
 (0)