Skip to content

Commit b72c066

Browse files
committed
powerpc/32: fix ADB_CUDA kconfig warning
Fix a (randconfig) kconfig warning by correcting the select statement: WARNING: unmet direct dependencies detected for ADB_CUDA Depends on [n]: MACINTOSH_DRIVERS [=n] && (ADB [=n] || PPC_PMAC [=y]) && !PPC_PMAC64 [=n] Selected by [y]: - PPC_PMAC [=y] && PPC_BOOK3S [=y] && CPU_BIG_ENDIAN [=y] && POWER_RESET [=y] && PPC32 [=y] The PPC32 isn't needed because ADB depends on (PPC_PMAC && PPC32). Fixes: a3ef2fe ("powerpc/32: Add dependencies of POWER_RESET for pmac32") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Tested: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20240211221623.31112-1-rdunlap@infradead.org
1 parent b997bf2 commit b72c066

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • arch/powerpc/platforms/powermac

arch/powerpc/platforms/powermac/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
config PPC_PMAC
33
bool "Apple PowerMac based machines"
44
depends on PPC_BOOK3S && CPU_BIG_ENDIAN
5-
select ADB_CUDA if POWER_RESET && PPC32
5+
select ADB_CUDA if POWER_RESET && ADB
66
select MPIC
77
select FORCE_PCI
88
select PPC_INDIRECT_PCI if PPC32

0 commit comments

Comments
 (0)