diff options
author | Naresh Solanki <naresh.solanki@9elements.com> | 2023-12-05 11:52:04 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-12-06 14:14:54 +0100 |
commit | 16e5ac127d8d18adf85fe5ba847d77b58d1ed418 (patch) | |
tree | 96801e386a05ff7c824500ae7cb816d91999f9af /drivers/regulator/Makefile | |
parent | regulator: add under-voltage support (part 2) (diff) | |
download | linux-16e5ac127d8d18adf85fe5ba847d77b58d1ed418.tar.xz linux-16e5ac127d8d18adf85fe5ba847d77b58d1ed418.zip |
regulator: event: Add regulator netlink event support
This commit introduces netlink event support to the regulator subsystem.
Changes:
- Introduce event.c and regnl.h for netlink event handling.
- Implement reg_generate_netlink_event to broadcast regulator events.
- Update Makefile to include the new event.c file.
Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com>
Link: https://lore.kernel.org/r/20231205105207.1262928-1-naresh.solanki@9elements.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/Makefile')
-rw-r--r-- | drivers/regulator/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/Makefile b/drivers/regulator/Makefile index b2b059b5ee56..46fb569e6be8 100644 --- a/drivers/regulator/Makefile +++ b/drivers/regulator/Makefile @@ -5,6 +5,7 @@ obj-$(CONFIG_REGULATOR) += core.o dummy.o fixed-helper.o helpers.o devres.o irq_helpers.o +obj-$(CONFIG_REGULATOR_NETLINK_EVENTS) += event.o obj-$(CONFIG_OF) += of_regulator.o obj-$(CONFIG_REGULATOR_FIXED_VOLTAGE) += fixed.o obj-$(CONFIG_REGULATOR_VIRTUAL_CONSUMER) += virtual.o |