projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b79551
)
mmc: queue: declare mmc_alloc_sg as static
author
Venkatraman S
<svenkatr@ti.com>
Tue, 23 Aug 2011 15:46:02 +0000
(21:16 +0530)
committer
Chris Ball
<cjb@laptop.org>
Wed, 26 Oct 2011 19:43:35 +0000
(15:43 -0400)
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>
drivers/mmc/card/queue.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/card/queue.c
b/drivers/mmc/card/queue.c
index 45fb362e3f013460fc951909dc72d13847530a1e..5196312bb55e437d60bdc7b1d72813fa5f4498c7 100644
(file)
--- 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)
+st
atic st
ruct scatterlist *mmc_alloc_sg(int sg_len, int *err)
{
struct scatterlist *sg;