aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/card
diff options
context:
space:
mode:
authorVenkatraman S <svenkatr@ti.com>2011-08-23 21:16:02 +0530
committerChris Ball <cjb@laptop.org>2011-10-26 15:43:35 -0400
commit7513cd7af8df412d05349c5e44dc7638974211d8 (patch)
tree6263d29bed11158ccdbb846805ab5509f71daf2a /drivers/mmc/card
parentmmc: Kconfig: remove i.MX individual SoC dependency (diff)
downloadlinux-dev-7513cd7af8df412d05349c5e44dc7638974211d8.tar.xz
linux-dev-7513cd7af8df412d05349c5e44dc7638974211d8.zip
mmc: queue: declare mmc_alloc_sg as static
Fix the sparse warning "drivers/mmc/card/queue.c:111:20: warning: symbol 'mmc_alloc_sg' was not declared. Should it be static?" Signed-off-by: Venkatraman S <svenkatr@ti.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/card')
-rw-r--r--drivers/mmc/card/queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/card/queue.c b/drivers/mmc/card/queue.c
index 45fb362e3f01..5196312bb55e 100644
--- a/drivers/mmc/card/queue.c
+++ b/drivers/mmc/card/queue.c
@@ -108,7 +108,7 @@ static void mmc_request(struct request_queue *q)
wake_up_process(mq->thread);
}
-struct scatterlist *mmc_alloc_sg(int sg_len, int *err)
+static struct scatterlist *mmc_alloc_sg(int sg_len, int *err)
{
struct scatterlist *sg;