diff options
author | Venkatraman S <svenkatr@ti.com> | 2011-08-23 21:16:02 +0530 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-10-26 15:43:35 -0400 |
commit | 7513cd7af8df412d05349c5e44dc7638974211d8 (patch) | |
tree | 6263d29bed11158ccdbb846805ab5509f71daf2a /drivers | |
parent | 2b795518bd7bcd1990b8f8b7225c9bb8eb5a30c1 (diff) |
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')
-rw-r--r-- | drivers/mmc/card/queue.c | 2 |
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; |