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-Tag: v3.4-rc4~3^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ca6518832ac913ac277b50ceddda8372dbf7bea;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.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 29de31e..2c14be7 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