cpufreq: mediatek: allow modular build

Russell King - ARM Linux
2015-09-11T09:34:54Z

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.