Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7513cd7a authored by Venkatraman S's avatar Venkatraman S Committed by Chris Ball
Browse files

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: default avatarVenkatraman S <svenkatr@ti.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 2b795518
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;