mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 07:47:50 +00:00
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>
This commit is contained in:
committed by
Mark Brown
parent
9448598b22
commit
b61104e7a6
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user