Skip to content

Commit

Permalink
spi/dw_spi: fix __init/__devinit section mismatch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Grant Likely committed Jan 20, 2010
1 parent 9778214 commit 99147b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/dw_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 99147b5

Please sign in to comment.