mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
2506c1de40
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>
14 lines
278 B
C
14 lines
278 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Regulator event over netlink
|
|
*
|
|
* Author: Naresh Solanki <Naresh.Solanki@9elements.com>
|
|
*/
|
|
|
|
#ifndef __REGULATOR_EVENT_H
|
|
#define __REGULATOR_EVENT_H
|
|
|
|
int reg_generate_netlink_event(const char *reg_name, u64 event);
|
|
|
|
#endif
|