diff options
| author | Yongqiang Liu <[email protected]> | 2021-04-01 13:15:33 +0000 |
|---|---|---|
| committer | Tony Lindgren <[email protected]> | 2021-05-18 06:44:42 +0000 |
| commit | 040ab72ee10ea88e1883ad143b3e2b77596abc31 (patch) | |
| tree | 4b24ada8f5066803a67fbd0aa540ad8ac4a2187a /drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c | |
| parent | ARM: OMAP1: isp1301-omap: Add missing gpiod_add_lookup_table function (diff) | |
| download | kernel-040ab72ee10ea88e1883ad143b3e2b77596abc31.tar.gz kernel-040ab72ee10ea88e1883ad143b3e2b77596abc31.zip | |
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 <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c')
0 files changed, 0 insertions, 0 deletions
