summaryrefslogtreecommitdiffstats
path: root/net/llc/llc_c_ac.c
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 02:27:26 +0100
commita113b057615b6ea96dd72262fe1d879f864b8fbf (patch)
tree3427d86c0ec5e434b9bfdee493ddf61fbb8291f0 /net/llc/llc_c_ac.c
parentARM: s3c24xx: fix unused gta02_configure_pmu_for_charger warning (diff)
downloadlinux-a113b057615b6ea96dd72262fe1d879f864b8fbf.tar.xz
linux-a113b057615b6ea96dd72262fe1d879f864b8fbf.zip
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 'net/llc/llc_c_ac.c')
0 files changed, 0 insertions, 0 deletions