From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 3 Nov 2011 17:20:21 +0000 (+0800) Subject: atmel/spi: fix missing probe X-Git-Tag: v3.2-rc2~12^2~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cb201af626eedf0ff78cc1712c731b463994c60;p=pandora-kernel.git atmel/spi: fix missing probe Commit 940ab889 "drivercore: Add helper macro for platform_driver boilerplate" converted this driver to use module_platform_driver, but due to the use of platform_driver_probe(), this resulted in the call to atmel_spi_probe being lost. Place the call to this function into the driver structure. fix section missmatch atmel_spi_probe is marked __init where it's supposed to be __devinit atmel_spi_remove is marked __exit where it's supposed to be __devexit Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Greg Kroah-Hartman Cc: Grant Likely Cc: Russell King - ARM Linux Acked-by: Nicolas Ferre --- Reading git-diff-tree failed