spi: Mark spi_register_board_info() __devinit
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 18 Feb 2012 00:23:29 +0000 (16:23 -0800)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 9 Mar 2012 21:41:49 +0000 (14:41 -0700)
commit690fb11be34cc908ef895d16c6c1673df1b4667a
tree6cad6252fae54f90fa4abb4c791d403f39f2b51e
parentad2a99af0d7242726723575efaffa1625664b384
spi: Mark spi_register_board_info() __devinit

Some systems have SPI devices located on plugin modules which are
enumerated at runtime as devices. The drivers for these plugin modules
need to register their SPI devices at probe() time so want to be able
to call spi_register_board_info() but that function is currently marked
as __init rather than __devinit so this usage isn't legal. Change the
annotation to __devinit to handle this.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi.c