From: Arnd Bergmann Date: Tue, 18 Feb 2014 15:33:07 +0000 (+0100) Subject: ARM: pxa: fix pxa_ssp_* declarations X-Git-Tag: v3.15-rc1~81^2~8^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ced9a5b07ccf41704ca347778a154944598c665;p=pandora-kernel.git ARM: pxa: fix pxa_ssp_* declarations The functions declared in include/linux/pxa2xx_ssp.h are defined in plat-pxa/ssp.c, which can also be built for PLAT_MMP, but may be disabled there. This can lead to both unresolved symbols at link time and to duplicate symbols at compile time for random configurations. Changing the #ifdef in the header file to match the Kconfig symbol that decides if the file is built solves both problems. Signed-off-by: Arnd Bergmann Cc: Eric Miao Cc: Russell King Cc: Haojian Zhuang Cc: Daniel Mack --- Reading git-diff-tree failed