From: Venkatraman S Date: Tue, 23 Aug 2011 15:46:02 +0000 (+0530) Subject: mmc: queue: declare mmc_alloc_sg as static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7513cd7af8df412d05349c5e44dc7638974211d8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Chris Ball --- 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;