diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-01-10 13:19:05 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-01-23 07:55:08 +0100 |
commit | 7f1931b35f0909695543a8c12f72ccd2d20ff241 (patch) | |
tree | cea565bf2da0ab59f55262123d0431d2445fef1b /arch/arm/boot/dts/imx6dl.dtsi | |
parent | ARM: dts: imx6qdl-nitrogen6_som2: fix sgtl5000 pinctrl init (diff) | |
download | linux-7f1931b35f0909695543a8c12f72ccd2d20ff241.tar.xz linux-7f1931b35f0909695543a8c12f72ccd2d20ff241.zip |
ARM: imx: hide unused variable in #ifdef
A bugfix added a new local variable that is only used inside of an #ifdef
section, and unused if CONFIG_PERF_EVENTS is disabled:
arch/arm/mach-imx/mmdc.c:63:25: warning: 'cpuhp_mmdc_state' defined but not used [-Wunused-variable]
This moves the variable down inside that same ifdef.
Fixes: a051f220d6b9 ("ARM/imx/mmcd: Fix broken cpu hotplug handling")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6dl.dtsi')
0 files changed, 0 insertions, 0 deletions