From: Mark Brown Date: Sat, 18 Feb 2012 00:23:29 +0000 (-0800) Subject: spi: Mark spi_register_board_info() __devinit X-Git-Tag: v3.4-rc1~170^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=690fb11be34cc908ef895d16c6c1673df1b4667a;p=pandora-kernel.git 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 Signed-off-by: Grant Likely --- Reading git-diff-tree failed