summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorArnd Bergmann2016-01-29 15:50:35 +0100
committerKrzysztof Kozlowski2016-02-01 01:49:16 +0100
commit8db9a2026db33971dc7e60ffa7d6abee694a3f0c (patch)
treefba1b3b50ca7764c38d662e29a0533a980851795 /arch/blackfin
parentARM: s3c24xx: allow selecting S3C2440_XTAL_16934400 for s3c2442 (diff)
downloadkernel-qcow2-linux-8db9a2026db33971dc7e60ffa7d6abee694a3f0c.tar.gz
kernel-qcow2-linux-8db9a2026db33971dc7e60ffa7d6abee694a3f0c.tar.xz
kernel-qcow2-linux-8db9a2026db33971dc7e60ffa7d6abee694a3f0c.zip
ARM: s3c24xx: fix unused gta02_configure_pmu_for_charger warning
gta02_configure_pmu_for_charger is only used when CONFIG_PCF50633_ADC is set, and otherwise we get a warning about an unused symbol: arch/arm/mach-s3c24xx/mach-gta02.c:158:1: warning: 'gta02_configure_pmu_for_charger' defined but not used [-Wunused-function] gta02_configure_pmu_for_charger(struct pcf50633 *pcf, void *unused, int res) This adds an #ifdef to shut up the warning. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Diffstat (limited to 'arch/blackfin')
0 files changed, 0 insertions, 0 deletions