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 /include/linux/mmc | |
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>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r-- | include/linux/mmc/sdio.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |