Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: dw_mmc-pltfm: include 'dw_mmc-pltfm.h'

Include 'dw_mmc-pltfm.h' header file in order to fix the following
sparse warnings:

drivers/mmc/host/dw_mmc-pltfm.c:36:5: warning: symbol 'dw_mci_pltfm_register' was not declared. Should it be static?
drivers/mmc/host/dw_mmc-pltfm.c:94:1: warning: symbol 'dw_mci_pltfm_pmops' was not declared. Should it be static?
drivers/mmc/host/dw_mmc-pltfm.c:118:5: warning: symbol 'dw_mci_pltfm_remove' was not declared. Should it be static?

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

authored by

Jingoo Han and committed by
Chris Ball
7725a52c f936f9b6

+1
+1
drivers/mmc/host/dw_mmc-pltfm.c
··· 23 23 #include <linux/of.h> 24 24 25 25 #include "dw_mmc.h" 26 + #include "dw_mmc-pltfm.h" 26 27 27 28 static void dw_mci_rockchip_prepare_command(struct dw_mci *host, u32 *cmdr) 28 29 {