Skip to content

Commit 0d084ee

Browse files
webgeek1234lag-linaro
authored andcommitted
mfd: max77620: Allow building as a module
The driver works fine as a module, so allowing building as such. Signed-off-by: Aaron Kling <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 4cdf1d2 commit 0d084ee

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

drivers/mfd/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ config MFD_MAX77541
858858
There are regulators and adc.
859859

860860
config MFD_MAX77620
861-
bool "Maxim Semiconductor MAX77620 and MAX20024 PMIC Support"
861+
tristate "Maxim Semiconductor MAX77620 and MAX20024 PMIC Support"
862862
depends on I2C=y
863863
depends on OF
864864
select MFD_CORE

drivers/mfd/max77620.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include <linux/mfd/core.h>
3030
#include <linux/mfd/max77620.h>
3131
#include <linux/init.h>
32+
#include <linux/module.h>
3233
#include <linux/of.h>
3334
#include <linux/regmap.h>
3435
#include <linux/slab.h>
@@ -700,3 +701,7 @@ static struct i2c_driver max77620_driver = {
700701
.id_table = max77620_id,
701702
};
702703
builtin_i2c_driver(max77620_driver);
704+
705+
MODULE_DESCRIPTION("Maxim Semiconductor MAX77620 and MAX20024 PMIC Support");
706+
MODULE_AUTHOR("Laxman Dewangan <[email protected]>");
707+
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)