diff options
author | Yongqiang Liu <liuyongqiang13@huawei.com> | 2021-04-01 13:15:33 +0000 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2021-06-30 08:49:10 -0400 |
commit | 7d2054b4ca4fcb94c28fb939d49f613f63276ca4 (patch) | |
tree | fa18b9fbd8fca2ba0b15d4ffd6805d6b40808efb /drivers | |
parent | 41b1e71a2c57366b08dcca1a28b0d45ca69429ce (diff) | |
download | linux-stable-7d2054b4ca4fcb94c28fb939d49f613f63276ca4.tar.gz linux-stable-7d2054b4ca4fcb94c28fb939d49f613f63276ca4.tar.bz2 linux-stable-7d2054b4ca4fcb94c28fb939d49f613f63276ca4.zip |
ARM: OMAP2+: Fix build warning when mmc_omap is not built
[ Upstream commit 040ab72ee10ea88e1883ad143b3e2b77596abc31 ]
GCC reports the following warning with W=1:
arch/arm/mach-omap2/board-n8x0.c:325:19: warning:
variable 'index' set but not used [-Wunused-but-set-variable]
325 | int bit, *openp, index;
| ^~~~~
Fix this by moving CONFIG_MMC_OMAP to cover the rest codes
in the n8x0_mmc_callback().
Signed-off-by: Yongqiang Liu <liuyongqiang13@huawei.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions