Re: [PATCH v2] mmc: cd-gpio.c: Include header to pickup exported symbol prototypes

From: Chris Ball
Date: Wed Apr 18 2012 - 19:59:27 EST


Hi,

On Tue, Apr 17 2012, Guennadi Liakhovetski wrote:
> On Tue, 17 Apr 2012, H Hartley Sweeten wrote:
>
>> 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 <hsweeten@xxxxxxxxxxxxxxxxxxx>
>> Cc: Chris Ball <cjb@xxxxxxxxxx>
>> Cc: Guennadi Liakhovetski <g.liakhovetski@xxxxxx>
>> Acked-by: Venkatraman S <svenkatr@xxxxxx>
>
> Acked-by: Guennadi Liakhovetski <g.liakhovetski@xxxxxx>

Thanks, pushed to mmc-next for 3.4.

- Chris.
--
Chris Ball <cjb@xxxxxxxxxx> <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/