Section mismatches pcmcia_core and pcmcia

Dominik Brodowski linux at dominikbrodowski.net
Thu Jul 10 16:06:59 EDT 2008


James,

On Wed, Jun 25, 2008 at 10:20:26AM -0400, James Ronald wrote:
> When building the kernel with pcmcia modules selected the section
> mismatch warnings below are displayed.   Per Sam Ravnborg the
> variables of type class_interface contains references to __devinit and
> __devexit functions which is OK.  Sam also submitted upstream the
> patches included below that silence said warnings by annotating the
> variables with __refdata.  I have not seen any mention of such on this
> list so I though that I would mention it.  I have applied these
> patches and they do silence the section mismatches as advertised
> assuming that just silencing them is indeed the correct action.

thanks for this hint. Indeed, silencing it _is_ the correct action.

Best,
	Dominik



More information about the linux-pcmcia mailing list