]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
spi: fix probe/remove section markings
authorGrant Likely <grant.likely@secretlab.ca>
Sun, 13 Dec 2009 08:03:12 +0000 (01:03 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 13 Dec 2009 08:03:12 +0000 (01:03 -0700)
commit965346e3b99e2c5f51bd1325ddd0257227000355
treec701088615222dc3192b04de6b523255a4bcd994
parent35c9049b27040d09461bc90928ad770be7ddf661
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>
drivers/spi/spi_imx.c