linux/arch/arm/mach-omap2
Yongqiang Liu 040ab72ee1 ARM: OMAP2+: Fix build warning when mmc_omap is not built
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>
2021-05-18 09:44:42 +03:00
..
2021-01-26 13:43:17 +02:00
2020-08-23 17:36:59 -05:00
2015-07-16 00:06:05 -07:00
2021-04-08 21:56:11 +02:00
2019-07-19 17:05:08 -07:00
2020-10-24 10:33:08 -07:00
2021-04-26 12:11:52 -07:00
2020-09-24 14:26:20 +03:00
2020-09-24 14:26:20 +03:00
2019-06-28 08:37:04 +08:00
2020-04-21 09:41:53 -07:00
2019-07-19 17:05:08 -07:00
2021-04-26 11:48:26 -07:00