lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250228081406.GL824852@google.com>
Date: Fri, 28 Feb 2025 08:14:06 +0000
From: Lee Jones <lee@...nel.org>
To: webgeek1234@...il.com
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: max77620: Allow building as a module

On Mon, 24 Feb 2025, Aaron Kling via B4 Relay wrote:

> From: Aaron Kling <webgeek1234@...il.com>
> 
> The driver works fine as a module, so allowing building as such.
> 
> Signed-off-by: Aaron Kling <webgeek1234@...il.com>
> ---
>  drivers/mfd/Kconfig    | 2 +-
>  drivers/mfd/max77620.c | 4 ++++
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 6b0682af6e32b434ee3e99940005a6cce14ff55c..922704bd0ce3fe6c094da6b1528b72fedcfa1677 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -858,7 +858,7 @@ config MFD_MAX77541
>  	  There are regulators and adc.
>  
>  config MFD_MAX77620
> -	bool "Maxim Semiconductor MAX77620 and MAX20024 PMIC Support"
> +	tristate "Maxim Semiconductor MAX77620 and MAX20024 PMIC Support"
>  	depends on I2C=y
>  	depends on OF
>  	select MFD_CORE
> diff --git a/drivers/mfd/max77620.c b/drivers/mfd/max77620.c
> index 89b30ef91f4f112b06e0e055e75e480fab176f8f..10264fce95a4a37f22f205edbf364fa6783e35dd 100644
> --- a/drivers/mfd/max77620.c
> +++ b/drivers/mfd/max77620.c

#include <linux/module.h>

> @@ -700,3 +700,7 @@ static struct i2c_driver max77620_driver = {
>  	.id_table = max77620_id,
>  };
>  builtin_i2c_driver(max77620_driver);
> +
> +MODULE_DESCRIPTION("Maxim Semiconductor MAX77620 and MAX20024 PMIC Support");
> +MODULE_AUTHOR("Laxman Dewangan <ldewangan@...dia.com>");
> +MODULE_LICENSE("GPL");
> 
> ---
> base-commit: d082ecbc71e9e0bf49883ee4afd435a77a5101b6
> change-id: 20250224-max77620-module-84bee019b0a9
> 
> Best regards,
> -- 
> Aaron Kling <webgeek1234@...il.com>
> 
> 

-- 
Lee Jones [李琼斯]

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ