summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVenkatraman S <svenkatr@ti.com>2011-08-23 15:46:02 (GMT)
committerChris Ball <cjb@laptop.org>2011-10-26 19:43:35 (GMT)
commit7513cd7af8df412d05349c5e44dc7638974211d8 (patch)
tree6263d29bed11158ccdbb846805ab5509f71daf2a
parent2b795518bd7bcd1990b8f8b7225c9bb8eb5a30c1 (diff)
downloadlinux-fsl-qoriq-7513cd7af8df412d05349c5e44dc7638974211d8.tar.xz
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>
-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 45fb362..5196312 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;