Unverified Commit b61104e7 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Mark Brown
Browse files

regulator: uapi: Use UAPI integer type



Using libc types and headers from the UAPI headers is problematic as it
introduces a dependency on a full C toolchain.

Use the fixed-width integer type provided by the UAPI headers instead.

Signed-off-by: default avatarThomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://patch.msgid.link/20251222-uapi-regulator-v1-1-a71c66eb1a94@linutronix.de


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9448598b
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -8,11 +8,7 @@
#ifndef _UAPI_REGULATOR_H
#define _UAPI_REGULATOR_H

#ifdef __KERNEL__
#include <linux/types.h>
#else
#include <stdint.h>
#endif

/*
 * Regulator notifier events.
@@ -62,7 +58,7 @@

struct reg_genl_event {
	char reg_name[32];
	uint64_t event;
	__u64 event;
};

/* attributes of reg_genl_family */