From: H Hartley Sweeten Date: Tue, 17 Apr 2012 20:03:38 +0000 (-0700) Subject: mmc: cd-gpio: Include header to pickup exported symbol prototypes X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=5ca6518832ac913ac277b50ceddda8372dbf7bea;p=sagit-ice-cold%2Fkernel_xiaomi_msm8998.git mmc: cd-gpio: Include header to pickup exported symbol prototypes Include the linux/mmc/cd-gpio.h header to pickup the prototypes for the two exported symbols. This quiets the sparse warnings: warning: symbol 'mmc_cd_gpio_request' was not declared. Should it be static? warning: symbol 'mmc_cd_gpio_free' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten Acked-by: Guennadi Liakhovetski Acked-by: Venkatraman S Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/core/cd-gpio.c b/drivers/mmc/core/cd-gpio.c index 29de31e260dd..2c14be73254c 100644 --- a/drivers/mmc/core/cd-gpio.c +++ b/drivers/mmc/core/cd-gpio.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include