of: make drivers depend on CONFIG_OF instead of CONFIG_PPC_OF

Some OF drivers could likely be used on non-powerpc OF based platforms,
so fix the kconfig depends to be CONFIG_OF instead of CONFIG_PPC_OF.

Compile tested on ARM and sparc.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
Rob Herring
2011-01-03 11:56:38 -06:00
committed by Grant Likely
parent a4f740cf33
commit 236cdc7bc7
4 changed files with 6 additions and 4 deletions

View File

@@ -1402,7 +1402,7 @@ config SERIAL_NETX_CONSOLE
config SERIAL_OF_PLATFORM
tristate "Serial port on Open Firmware platform bus"
depends on PPC_OF || MICROBLAZE
depends on OF
depends on SERIAL_8250 || SERIAL_OF_PLATFORM_NWPSERIAL
help
If you have a PowerPC based system that has serial ports