Skip to contentSkip to conversation

spi/dw_spi: fix __init/__devinit section mismatch

PATCH New Grant Likely 1 participant 1 message Jan 20, 2010 SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi/dw_spi: fix __init/__devinit section mismatch

Section mismatch in reference from the function dw_spi_add_host() to the function init_queue()

---

 drivers/spi/dw_spi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/spi/dw_spi.c +1 -1
index 1bb709b..f713af8 100644
@@ -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);

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev