summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/card
diff options
context:
space:
mode:
authorVenkatraman S <svenkatr@ti.com>2011-08-23 17:46:02 +0200
committerChris Ball <cjb@laptop.org>2011-10-26 21:43:35 +0200
commit7513cd7af8df412d05349c5e44dc7638974211d8 (patch)
tree6263d29bed11158ccdbb846805ab5509f71daf2a /drivers/mmc/card
parentmmc: Kconfig: remove i.MX individual SoC dependency (diff)
downloadlinux-7513cd7af8df412d05349c5e44dc7638974211d8.tar.xz
linux-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;