summaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-02-17 03:18:39 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-17 12:27:25 +0100
commitbc43fd40ea9d4183fb0bab00f55af2da0ab46979 (patch)
tree5bff6a274312d2fcca7b83420489c6c29e568019 /drivers/serial
parent[ARM] 4216/1: add .gitignore entries for ARM specific files (diff)
downloadlinux-bc43fd40ea9d4183fb0bab00f55af2da0ab46979.tar.xz
linux-bc43fd40ea9d4183fb0bab00f55af2da0ab46979.zip
[ARM] 4090/2: avoid clash between PXA and SA1111 defines
The Lubbock platform uses both a PXA25x and a SA1111 at the same time. Both chips have the same "Serial Audio Controller" registers although the SA1111 one is never expected to be used in preference to the PXA25x one. So let's disable the SA1111 defines whenever compilation is for a PXA architecture and make the PXA defines always defined. This removes a bunch of "already defined" warnings as well since the current hack to prevent them depended on include ordering which wasn't always right. While at it, clean up the SA1111 defines allowing to get rid of the __CCREG() macro. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/serial')
0 files changed, 0 insertions, 0 deletions