diff options
| author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-12-22 08:45:48 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-12-22 09:00:42 +0000 |
| commit | b61104e7a6349bd2c2b3e2fb3260d87f15eda8f4 (patch) | |
| tree | 98e8e7d6de3af547848d4f07736b52147deb400a | |
| parent | 9448598b22c50c8a5bb77a9103e2d49f134c9578 (diff) | |
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: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://patch.msgid.link/20251222-uapi-regulator-v1-1-a71c66eb1a94@linutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
| -rw-r--r-- | include/uapi/regulator/regulator.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/uapi/regulator/regulator.h b/include/uapi/regulator/regulator.h index 71bf71a22e7f..c4f2d1c19828 100644 --- a/include/uapi/regulator/regulator.h +++ b/include/uapi/regulator/regulator.h @@ -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 */ |
