]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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>
Sat, 22 Jun 2013 08:16:41 +0000 (13:46 +0530)
commitba5afadb114d09ce52a0d6886a0eab4fcb679501
treec8f320b972d87e6aabf32f18469534f703095401
parent7d132055814ef17a6c7b69f342244c410a5e000f
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