History

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.

Thomas Weißschuh committed 10 months ago

Commit b61104e1 parent 94485981 file · +1 −5Browse files

Unified · Split

include/uapi/regulator/regulator.h+1−5
@@ -8,11 +8,7 @@ · 7 unmodified lines
88 #ifndef _UAPI_REGULATOR_H
99 #define _UAPI_REGULATOR_H
1010
11−#ifdef __KERNEL__
1211 #include <linux/types.h>
13−#else
14−#include <stdint.h>
15−#endif
1612
1713 /*
1814 * Regulator notifier events.
@@ -62,7 +58,7 @@ · 43 unmodified lines
6258
6359 struct reg_genl_event {
6460 char reg_name[32];
65− uint64_t event;
61+ __u64 event;
6662 };
6763
6864 /* attributes of reg_genl_family */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t