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:
9778214
)
spi/dw_spi: fix __init/__devinit section mismatch
author
Grant Likely
<grant.likely@secretlab.ca>
Wed, 20 Jan 2010 21:03:39 +0000
(14:03 -0700)
committer
Grant Likely
<grant.likely@secretlab.ca>
Wed, 20 Jan 2010 21:03:39 +0000
(14:03 -0700)
Section mismatch in reference from the function dw_spi_add_host()
to the function init_queue()
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/dw_spi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/dw_spi.c
b/drivers/spi/dw_spi.c
index 1bb709b3920f00c2022f643935d303a6f5c1456f..f713af8309e3a093a65847a8f4de0dd77808632e 100644
(file)
--- a/
drivers/spi/dw_spi.c
+++ b/
drivers/spi/dw_spi.c
@@
-749,7
+749,7
@@
static void dw_spi_cleanup(struct spi_device *spi)
kfree(chip);
}
-static int __init init_queue(struct dw_spi *dws)
+static int __
dev
init init_queue(struct dw_spi *dws)
{
INIT_LIST_HEAD(&dws->queue);
spin_lock_init(&dws->lock);