Re: [PATCH] mfd: Add module build support for RZ/G2L MTU3a

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Biju,

On Mon, Jul 10, 2023 at 7:04 PM Biju Das <biju.das.jz@xxxxxxxxxxxxxx> wrote:
> > -----Original Message-----
> > From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> > Sent: Wednesday, July 5, 2023 12:44 PM
> > To: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> > Cc: Lee Jones <lee@xxxxxxxxxx>; Prabhakar Mahadev Lad
> > <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>; linux-renesas-
> > soc@xxxxxxxxxxxxxxx
> > Subject: Re: [PATCH] mfd: Add module build support for RZ/G2L MTU3a
> >
> > On Mon, Jul 3, 2023 at 3:23 PM Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> > wrote:
> > > Modified Kconfig to enable module build support for RZ/G2L MTU3a
> > driver.
> > >
> > > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> >
> > As drivers/mfd/rz-mtu3.c already has the needed MODULE_*() lines:
> >
> > drivers/mfd/rz-mtu3.c:MODULE_DEVICE_TABLE(of, rz_mtu3_of_match);
> > drivers/mfd/rz-mtu3.c:MODULE_AUTHOR("Biju Das
> > <biju.das.jz@xxxxxxxxxxxxxx>"); drivers/mfd/rz-
> > mtu3.c:MODULE_DESCRIPTION("Renesas RZ/G2L MTU3a Core Driver");
> > drivers/mfd/rz-mtu3.c:MODULE_LICENSE("GPL");
>
> You mean, I missed adding linux/module.h as I got compilation error
> While backporting to 5.10 cip kernel?

No, I didn't mean that.  I just clarified that the MODULE_*() machinery
was already there, so it's fine to make the driver modular.
I hadn't noticed the include was forgotten. Doh...

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux