summaryrefslogtreecommitdiff
path: root/arch/arm/mach-realview/realview_pb11mp.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-03-15 23:08:48 +0400
committerArnd Bergmann <arnd@arndb.de>2014-03-21 21:26:18 +0400
commit4f579c0391320285ac48551efd9715a0e8366379 (patch)
tree270df7b31e91f30995c66a3704275eb69d04205f /arch/arm/mach-realview/realview_pb11mp.c
parent4ab75a3f3ddb840cc93446ebbcad8838e337d53f (diff)
downloadlinux-4f579c0391320285ac48551efd9715a0e8366379.tar.xz
ARM: s5p64x0: fix building with only one soc type
The s5p64x0 platform supports two distinct SoCs, s5p6440 and s5p6450, and in the normal configuration, both are enabled. However if we build a kernel that only enables one of the two, the #ifdef logic in common.c breaks down, as some of the functions declared in the header are defined to NULL using the preprocessor but then defined anyway. This patch cleans up the mess and ensures that each function has either exactly one C declaration and one matching C definition, or we have a NULL defined function pointer but no C definition. 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>
Diffstat (limited to 'arch/arm/mach-realview/realview_pb11mp.c')
0 files changed, 0 insertions, 0 deletions