Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: Re[2]: [PATCH v2 1/3] mfd: syscon: Removed support for unloading | Date | Tue, 12 Feb 2013 11:38:48 +0000 |
| |
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@mail.ru> > > > > 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.
Arnd
| |