]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: cd-gpio: Include header to pickup exported symbol prototypes
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 17 Apr 2012 20:03:38 +0000 (13:03 -0700)
committerChris Ball <cjb@laptop.org>
Sat, 21 Apr 2012 00:45:00 +0000 (20:45 -0400)
commit4599e77f93ec22cf063e66c932e8d7cb70c95e72
tree1b28f40c73312b2322046a4f0a9fd6ba4ca0e35a
parent00ebe4585c0fb7d422e788683a6307a1895d58dc
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 <hsweeten@visionengravers.com>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Venkatraman S <svenkatr@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/cd-gpio.c