summaryrefslogtreecommitdiff
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
parent2b795518bd7bcd1990b8f8b7225c9bb8eb5a30c1 (diff)
downloadlinux-3.10-7513cd7af8df412d05349c5e44dc7638974211d8.tar.gz
linux-3.10-7513cd7af8df412d05349c5e44dc7638974211d8.tar.bz2
linux-3.10-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 45fb362e3f0..5196312bb55 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;