Re: Re[2]: [PATCH v2 1/3] mfd: syscon: Removed support for unloading

From: Arnd Bergmann
Date: Tue Feb 12 2013 - 06:38:55 EST

On Tuesday 12 February 2013, Alexander Shiyan wrote:
> > On Monday 11 February 2013, Alexander Shiyan wrote:
> > > The driver can be used in various subsystems and therefore should not
> > > be unloaded when it is defined in the kernel configuration, so remove
> > > support for unloading it.
> > >
> > > Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx>
> >
> > Can you describe a scenario where that would happen? Normally the
> > module should stay pinned as long as any other module refers
> > to its exported symbols.
> Probably I wrote a bad description.
> The driver registered by "postcore_initcall". Therefore, if we unregister the
> driver, we have no way to register it back. Fixme please.

Ah, the driver is actually "bool" in Kconfig rather than "tristate", so
it is not possible to build it as a module. Makes sense then, and if
we ever want to turn this into a module, we can still revert your patch.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at