diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-01-20 16:03:39 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-01-20 16:03:39 -0500 |
commit | 99147b5c4167612a987860b661b9f8b79e66b81f (patch) | |
tree | 598e6cbeebb401bb701d8b4380388cb0a516df16 /drivers/spi | |
parent | 9778214990af88ec6720bd771d7fc0fa1b140b02 (diff) |
spi/dw_spi: fix __init/__devinit section mismatch
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/dw_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/dw_spi.c b/drivers/spi/dw_spi.c index 1bb709b3920f..f713af8309e3 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) | |||
749 | kfree(chip); | 749 | kfree(chip); |
750 | } | 750 | } |
751 | 751 | ||
752 | static int __init init_queue(struct dw_spi *dws) | 752 | static int __devinit init_queue(struct dw_spi *dws) |
753 | { | 753 | { |
754 | INIT_LIST_HEAD(&dws->queue); | 754 | INIT_LIST_HEAD(&dws->queue); |
755 | spin_lock_init(&dws->lock); | 755 | spin_lock_init(&dws->lock); |