Re: [PATCH] hwmon: sg2042: add back module description/author tags
From: Inochi Amaoto
Date: Wed Feb 05 2025 - 07:30:32 EST
On Wed, Feb 05, 2025 at 01:14:08PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> A previous code reorganization inadvertently dropped the two tags,
> which leads to a "make W=1" warning:
>
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/hwmon/sg2042-mcu.o
>
> Add these back.
>
> Fixes: cd4db38c4368 ("hwmon: (sg2042) Use per-client debugfs entry")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
Reviewed-by: Inochi Amaoto <inochiama@xxxxxxxxx>
> ---
> drivers/hwmon/sg2042-mcu.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/hwmon/sg2042-mcu.c b/drivers/hwmon/sg2042-mcu.c
> index 74c35945d169..105131c4acf7 100644
> --- a/drivers/hwmon/sg2042-mcu.c
> +++ b/drivers/hwmon/sg2042-mcu.c
> @@ -355,4 +355,6 @@ static struct i2c_driver sg2042_mcu_driver = {
> };
> module_i2c_driver(sg2042_mcu_driver);
>
> +MODULE_AUTHOR("Inochi Amaoto <inochiama@xxxxxxxxxxx>");
> +MODULE_DESCRIPTION("MCU I2C driver for SG2042 soc platform");
> MODULE_LICENSE("GPL");
> --
> 2.39.5
>