commit | 965346e3b99e2c5f51bd1325ddd0257227000355 | [log] [tgz] |
---|---|---|
author | Grant Likely <grant.likely@secretlab.ca> | Sun Dec 13 01:03:12 2009 -0700 |
committer | Grant Likely <grant.likely@secretlab.ca> | Sun Dec 13 01:03:12 2009 -0700 |
tree | c701088615222dc3192b04de6b523255a4bcd994 | |
parent | 35c9049b27040d09461bc90928ad770be7ddf661 [diff] |
spi: fix probe/remove section markings Probe/remove functions need to be marked as __devinit and __devexit (not __init an __exit) to prevent trying to run code that has been discarded. This patch fixes the spi_imx driver to mark probe and remove correctly. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>