[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200330143153.32800-1-yuehaibing@huawei.com>
Date: Mon, 30 Mar 2020 22:31:53 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <mporter@...nel.crashing.org>, <benh@...nel.crashing.org>,
<paulus@...ba.org>, <mpe@...erman.id.au>
CC: <alistair@...ple.id.au>, <linuxppc-dev@...ts.ozlabs.org>,
<linux-kernel@...r.kernel.org>, YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH] powerpc/44x: Make AKEBONO depends on NET
Fix Kconfig warnings:
WARNING: unmet direct dependencies detected for NETDEVICES
Depends on [n]: NET [=n]
Selected by [y]:
- AKEBONO [=y] && PPC_47x [=y]
WARNING: unmet direct dependencies detected for ETHERNET
Depends on [n]: NETDEVICES [=y] && NET [=n]
Selected by [y]:
- AKEBONO [=y] && PPC_47x [=y]
AKEBONO select NETDEVICES and ETHERNET unconditionally,
If NET is not set, build fails. Add this dependcy to fix this.
Fixes: 2a2c74b2efcb ("IBM Akebono: Add the Akebono platform")
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
arch/powerpc/platforms/44x/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/platforms/44x/Kconfig b/arch/powerpc/platforms/44x/Kconfig
index 25ebe634a661..394f662d7df2 100644
--- a/arch/powerpc/platforms/44x/Kconfig
+++ b/arch/powerpc/platforms/44x/Kconfig
@@ -199,6 +199,7 @@ config FSP2
config AKEBONO
bool "IBM Akebono (476gtr) Support"
depends on PPC_47x
+ depends on NET
select SWIOTLB
select 476FPE
select PPC4xx_PCI_EXPRESS
--
2.17.1
Powered by blists - more mailing lists