Re: cpufreq: mediatek: allow modular build

From: Russell King - ARM Linux
Date: Fri Sep 11 2015 - 05:35:15 EST


On Fri, Sep 11, 2015 at 02:08:06PM +0530, Viresh Kumar wrote:
> On 11-09-15, 10:36, Arnd Bergmann wrote:
> > I don't consider that a bug: a module with just an init function and
> > no exit function can be loaded once and never unloaded, which is not
> > nice for debugging, but is otherwise fully functional.
>
> For me, there are two essential things that a module has to support:
> - hotplug, which is just fine.
> - hot-unplug, which will pass as well, but without freeing resources..

Well, that's got nothing to do with not having a module_exit().

--
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
--
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/