Re: [PATCH] spi: omap2-mcspi: fix section mismatch regression in probe

2012-06-25 Thread Felipe Balbi
On Tue, Jun 19, 2012 at 03:27:48PM +0530, Venkatraman S wrote: Commit 7d6b6d83(make it behave as a module) annotated probe with __devinit, but a referenced function was not. This introduced a section mismatch warning: WARNING: vmlinux.o(.devinit.text+0x3eec): Section mismatch in reference

[PATCH] spi: omap2-mcspi: fix section mismatch regression in probe

2012-06-19 Thread Venkatraman S
Commit 7d6b6d83(make it behave as a module) annotated probe with __devinit, but a referenced function was not. This introduced a section mismatch warning: WARNING: vmlinux.o(.devinit.text+0x3eec): Section mismatch in reference from the function omap2_mcspi_probe() to the function