mmc: stm32_sdmmc2: avoid warnings when building with W=1 option
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 21 Jun 2019 13:26:42 +0000 (15:26 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 12 Jul 2019 09:50:54 +0000 (11:50 +0200)
commit0e9fb25f71a479a035145ce3977f10c4cfc7ac36
treec1c4d7e8ceb2477761a25ea88a48b60d476f90c9
parent585289b4fc47a8d745bf922b86f4adc69b24088e
mmc: stm32_sdmmc2: avoid warnings when building with W=1 option

This patch solves warnings detected by setting W=1 when building.

Warnings type detected:
 - [-Wmissing-prototypes]
 - [-Wimplicit-fallthrough=]

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/mmc/stm32_sdmmc2.c