]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit5ca6518832ac913ac277b50ceddda8372dbf7bea
tree1b28f40c73312b2322046a4f0a9fd6ba4ca0e35a
parent87b87a3fc0eec58d95e4216392f889a26439ad22
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