]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARC: [plat-arcfpga] Fix build breakage when !CONFIG_ARC_SERIAL
authorMischa Jonker <mjonker@synopsys.com>
Tue, 4 Jun 2013 09:00:49 +0000 (11:00 +0200)
committerVineet Gupta <vgupta@synopsys.com>
Tue, 4 Jun 2013 09:10:11 +0000 (14:40 +0530)
commitce3f8084ad6b3493a0b74e80d29a5371807a2556
tree90cf6d6825e5691fcd7de4f5c24110c50156c457
parente4aa937ec75df0eea0bee03bffa3303ad36c986b
ARC: [plat-arcfpga] Fix build breakage when !CONFIG_ARC_SERIAL

This fixes the following:
- CONFIG_ARC_SERIAL_BAUD is only defined when CONFIG_SERIAL_ARC is defined.
  Make sure that it isn't referenced otherwise.
- There is no use for initializing arc_uart_info[] when CONFIG_SERIAL_ARC is
  not defined.

[vgupta: tweaked changelog title, used IS_ENABLED() kconfig helper]
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/plat-arcfpga/platform.c