Re: [PATCH] mfd: Fix cs5535-mfd driver name

From: Samuel Ortiz
Date: Mon Dec 19 2011 - 06:37:39 EST


Hi Jean,

On Mon, Dec 05, 2011 at 10:46:39PM +0100, Jean Delvare wrote:
> Fix cs5535-mfd driver name to make CONFIG_DEBUG_SECTION_MISMATCH=y
> happy:
>
> WARNING: drivers/mfd/cs5535-mfd.o(.data+0x20): Section mismatch in reference from the variable cs5535_mfd_drv to the function .devinit.text:cs5535_mfd_probe()
> The variable cs5535_mfd_drv references
> the function __devinit cs5535_mfd_probe()
> If the reference is valid then annotate the
> variable with __init* or __refdata (see linux/init.h) or name the variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
A similar patch is already queued in my for-next branch, thanks.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/