ARM: samsung: allow serial driver to be disabled
authorArnd Bergmann <arnd@arndb.de>
Wed, 26 Feb 2014 16:55:35 +0000 (17:55 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Mar 2014 17:26:20 +0000 (18:26 +0100)
commit0443a653982942da4237b8344027bbb86e4b83a1
tree4591fd96af266d97671a491a5677be857838a6ac
parent943fa72629d9f5e8d3df5fc39351fe3360ff03cb
ARM: samsung: allow serial driver to be disabled

If CONFIG_SERIAL_SAMSUNG is disabled, we run into build errors
with some samsung platforms. This adds a couple of #ifdef
statements to hopefully deal with this more gracefully.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Cc: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c64xx/irq-pm.c
arch/arm/mach-s5p64x0/irq-pm.c
arch/arm/plat-samsung/init.c