summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-04-17 13:03:38 -0700
committerChris Ball <cjb@laptop.org>2012-04-20 20:45:00 -0400
commit5ca6518832ac913ac277b50ceddda8372dbf7bea (patch)
tree1b28f40c73312b2322046a4f0a9fd6ba4ca0e35a /drivers/mmc
parent87b87a3fc0eec58d95e4216392f889a26439ad22 (diff)
downloadlinux-stable-5ca6518832ac913ac277b50ceddda8372dbf7bea.tar.gz
linux-stable-5ca6518832ac913ac277b50ceddda8372dbf7bea.tar.bz2
linux-stable-5ca6518832ac913ac277b50ceddda8372dbf7bea.zip
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/core/cd-gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/cd-gpio.c b/drivers/mmc/core/cd-gpio.c
index 29de31e260dd..2c14be73254c 100644
--- a/drivers/mmc/core/cd-gpio.c
+++ b/drivers/mmc/core/cd-gpio.c
@@ -12,6 +12,7 @@
#include <linux/gpio.h>
#include <linux/interrupt.h>
#include <linux/jiffies.h>
+#include <linux/mmc/cd-gpio.h>
#include <linux/mmc/host.h>
#include <linux/module.h>
#include <linux/slab.h>