[PATCH 15/19] SPI: amba-pl022: move probe and remove to .devinit and .devexit resp.

Kevin Wells kevin.wells at nxp.com
Thu Aug 5 13:14:19 EDT 2010


> The driver can be bound via sysfs after the .init sections are already
> discarded, so pl022_probe must not be in .init.text.  If there is no
> remove
> function the driver can still be unbound without any callback being run.
> So pl022_remove must not be in .exit.text.
> 
> This fixes a section mismatch reported by modpost.
> 

This fix was in Grant Likely's spi tree earlier this week.



More information about the linux-arm-kernel mailing list