From: H Hartley Sweeten Subject: [PATCH] mmc: cd-gpio.c: Include header to pickup exported symbol prototypes Date: Mon, 16 Apr 2012 18:24:26 -0700 Message-ID: <201204161824.26879.hartleys@visionengravers.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org To: Linux Kernel Cc: linux-mmc@vger.kernel.org, cjb@laptop.org, g.liakhovetski@gmx.de List-Id: linux-mmc@vger.kernel.org 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 Cc: Chris Ball Cc: Guennadi Liakhovetski --- diff --git a/drivers/mmc/core/cd-gpio.c b/drivers/mmc/core/cd-gpio.c index 29de31e..da7c3f9 100644 --- a/drivers/mmc/core/cd-gpio.c +++ b/drivers/mmc/core/cd-gpio.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include