diff options
author | Rob Herring <rob.herring@calxeda.com> | 2011-01-03 12:56:38 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-01-03 16:08:18 -0500 |
commit | 236cdc7bc718566a7e7cb9f763b51a8dcad88cbe (patch) | |
tree | d7009269e0b75a570d095aeb3fd72c317d0c4399 /drivers/serial/Kconfig | |
parent | a4f740cf33f7f6c164bbde3c0cdbcc77b0c4997c (diff) |
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>
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r-- | drivers/serial/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index aff9dcd051c6..9d109f9a5c70 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig | |||
@@ -1402,7 +1402,7 @@ config SERIAL_NETX_CONSOLE | |||
1402 | 1402 | ||
1403 | config SERIAL_OF_PLATFORM | 1403 | config SERIAL_OF_PLATFORM |
1404 | tristate "Serial port on Open Firmware platform bus" | 1404 | tristate "Serial port on Open Firmware platform bus" |
1405 | depends on PPC_OF || MICROBLAZE | 1405 | depends on OF |
1406 | depends on SERIAL_8250 || SERIAL_OF_PLATFORM_NWPSERIAL | 1406 | depends on SERIAL_8250 || SERIAL_OF_PLATFORM_NWPSERIAL |
1407 | help | 1407 | help |
1408 | If you have a PowerPC based system that has serial ports | 1408 | If you have a PowerPC based system that has serial ports |