diff mbox

spi/dw_spi: fix __init/__devinit section mismatch

Message ID 20100120210610.22735.49214.stgit@angua (mailing list archive)
State Accepted
Headers show

Commit Message

Grant Likely Jan. 20, 2010, 9:06 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/spi/dw_spi.c b/drivers/spi/dw_spi.c
index 1bb709b..f713af8 100644
--- 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 __devinit init_queue(struct dw_spi *dws)
 {
 	INIT_LIST_HEAD(&dws->queue);
 	spin_lock_init(&dws->lock);