diff options
| author | Alex Elder <[email protected]> | 2024-04-16 18:10:12 -0500 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-04-18 13:01:05 +0200 |
| commit | ff39eefde76a2ae1612db6c6697ccef8b7811493 (patch) | |
| tree | 4544b2748a4fb82bc1bb8e7a319c8f17491b4206 /tools/perf/scripts/python/sctop.py | |
| parent | 5cb431dcf8048572e9ffc6c30cdbd8832cbe502d (diff) | |
net: ipa: include some standard header files
Some IPA header files use types defined in <linux/types.h>, but do
not include that file:
- In "ipa_mem.h", the ipa_mem structure has u16 and u32 fields
- In "ipa_power.h", ipa_power_retention() takes a bool argument,
and ipa_core_clock_rate() returns u32
- In "ipa_version.h", ipa_version_supported() returns bool
Include it in these files to satisfy their dependencies.
The ipa_qmi structure (defined in "ipa_qmi.h") contains a work
structure, so include <linux/workqueue.h> in there.
All of the data and register definition files, as well as "reg.h",
use the ARRAY_SIZE() macro. Include <linux/array_size.h> everywhere
it's used.
Similarly, all register definition files (and a few others) use the
GENMASK() macro, so include <linux/bits.h> to ensure it's defined
where used. BIT() becomes available by including this file also.
Signed-off-by: Alex Elder <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions