Skip to content
Commit 965346e3 authored by Grant Likely's avatar Grant Likely
Browse files

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: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 35c9049b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment