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: https://git.stricted.de/?a=commitdiff_plain;h=5ca6518832ac913ac277b50ceddda8372dbf7bea;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 29de31e260d..2c14be73254 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