diff options
author | Haibo Chen <haibo.chen@nxp.com> | 2017-02-27 17:07:28 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | 9490b2e8af0e924dfe784a3cb11ca98fb6afa95b (patch) | |
tree | 934efeecb582f8a3198a27833719e5dc072fc5c6 | |
parent | bd4df6a52b15b34f423be86f1e9b0625b77e0171 (diff) |
MLK-14276-1 mmc: sdio: remove compile warning
Remove the TI wifi from defconfig and include the head file host.h
which contain the definition of struct mmc_host to avoid the following
compile warning:
In file included from drivers/net/wireless/ti/wlcore/sdio.c:28:0:
./include/linux/mmc/sdio.h:193:35: warning: 'struct mmc_host' declared inside parameter list
void mmc_sdio_force_remove(struct mmc_host *host);
^
./include/linux/mmc/sdio.h:193:35: warning: its scope is only this definition or declaration, which is probably not what you want
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
-rw-r--r-- | arch/arm64/configs/defconfig | 3 | ||||
-rw-r--r-- | include/linux/mmc/sdio.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 455d3025ecac..9337e18bf98e 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -196,8 +196,7 @@ CONFIG_USB_NET_SMSC75XX=m CONFIG_USB_NET_SMSC95XX=m CONFIG_USB_NET_PLUSB=m CONFIG_USB_NET_MCS7830=m -CONFIG_WL18XX=m -CONFIG_WLCORE_SDIO=m +# CONFIG_WLAN_VENDOR_TI is not set CONFIG_INPUT_EVDEV=y CONFIG_KEYBOARD_GPIO=y CONFIG_INPUT_MISC=y diff --git a/include/linux/mmc/sdio.h b/include/linux/mmc/sdio.h index f910eeb8c7d4..bbb9c0010cce 100644 --- a/include/linux/mmc/sdio.h +++ b/include/linux/mmc/sdio.h @@ -12,6 +12,8 @@ #ifndef LINUX_MMC_SDIO_H #define LINUX_MMC_SDIO_H +#include <linux/mmc/host.h> + /* SDIO commands type argument response */ #define SD_IO_SEND_OP_COND 5 /* bcr [23:0] OCR R4 */ #define SD_IO_RW_DIRECT 52 /* ac [31:0] See below R5 */ |