summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-01-29 15:50:37 +0100
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-02-01 10:27:26 +0900
commita113b057615b6ea96dd72262fe1d879f864b8fbf (patch)
tree3427d86c0ec5e434b9bfdee493ddf61fbb8291f0 /arch/arm/mach-exynos/Kconfig
parent8db9a2026db33971dc7e60ffa7d6abee694a3f0c (diff)
downloadop-kernel-dev-a113b057615b6ea96dd72262fe1d879f864b8fbf.zip
op-kernel-dev-a113b057615b6ea96dd72262fe1d879f864b8fbf.tar.gz
ARM: s3c64xx: mark regulator init data as unused
The smdk6410 board defines lots of regulator settings, but uses most of them only in certain configurations, and otherwise leaves them without any references, so we get lots of randconfig warnings about them: mach-s3c64xx/mach-smdk6410.c:303:35: error: 'smdk6410_vddarm' defined but not used [-Werror=unused-variable] mach-s3c64xx/mach-smdk6410.c:316:35: error: 'smdk6410_vddint' defined but not used [-Werror=unused-variable] mach-s3c64xx/mach-smdk6410.c:327:35: error: 'smdk6410_vddhi' defined but not used [-Werror=unused-variable] mach-s3c64xx/mach-smdk6410.c:335:35: error: 'smdk6410_vddpll' defined but not used [-Werror=unused-variable] mach-s3c64xx/mach-smdk6410.c:343:35: error: 'smdk6410_vdduh_mmc' defined but not used [-Werror=unused-variable] This marks all regulator_init_data structures in this file as __maybe_unused, indicating that we don't care whether there are any references or not in a given configuration. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud