[PATCH] macintosh/via-pmu: register_pmu_pm_ops() can be __init
Geert Uytterhoeven
geert at linux-m68k.org
Mon Aug 26 17:42:31 AEST 2024
On Wed, Aug 21, 2024 at 10:21 AM Michael Ellerman <mpe at ellerman.id.au> wrote:
> register_pmu_pm_ops() is only called at init time, via
> device_initcall(), so can be marked __init. The driver can't be built as
> a module.
>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
Reviewed-by: Geert Uytterhoeven <geert at linux-m68k.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the Linuxppc-dev
mailing list