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>
This commit is contained in:
Venkatraman S 2011-08-23 21:16:02 +05:30 коммит произвёл Chris Ball
Родитель 2b795518bd
Коммит 7513cd7af8
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -108,7 +108,7 @@ static void mmc_request(struct request_queue *q)
wake_up_process(mq->thread); 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; struct scatterlist *sg;