Skip to content

Commit 7513cd7

Browse files
Venkatraman Scjb
authored andcommitted
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>
1 parent 2b79551 commit 7513cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mmc/card/queue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ static void mmc_request(struct request_queue *q)
108108
wake_up_process(mq->thread);
109109
}
110110

111-
struct scatterlist *mmc_alloc_sg(int sg_len, int *err)
111+
static struct scatterlist *mmc_alloc_sg(int sg_len, int *err)
112112
{
113113
struct scatterlist *sg;
114114

0 commit comments

Comments
 (0)