Skip to content

Commit c2f028b

Browse files
Finn Thainmpe
authored andcommitted
macintosh/via-pmu: Explicitly specify CONFIG_PPC_PMAC dependencies
At present, CONFIG_ADB_PMU depends on CONFIG_PPC_PMAC. When this gets relaxed to CONFIG_PPC_PMAC || CONFIG_MAC, those Kconfig symbols with implicit deps on PPC_PMAC will need explicit deps. Add them now. No functional change. Tested-by: Stan Johnson <userm57@yahoo.com> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent c16a85a commit c2f028b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/macintosh/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ config ADB_PMU
7979

8080
config ADB_PMU_LED
8181
bool "Support for the Power/iBook front LED"
82-
depends on ADB_PMU
82+
depends on PPC_PMAC && ADB_PMU
8383
select NEW_LEDS
8484
select LEDS_CLASS
8585
help
@@ -122,7 +122,7 @@ config PMAC_MEDIABAY
122122

123123
config PMAC_BACKLIGHT
124124
bool "Backlight control for LCD screens"
125-
depends on ADB_PMU && FB = y && (BROKEN || !PPC64)
125+
depends on PPC_PMAC && ADB_PMU && FB = y && (BROKEN || !PPC64)
126126
select FB_BACKLIGHT
127127
help
128128
Say Y here to enable Macintosh specific extensions of the generic

0 commit comments

Comments
 (0)