diff options
author | Alex Elder <elder@linaro.org> | 2024-04-17 02:10:12 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-04-18 14:01:05 +0300 |
commit | ff39eefde76a2ae1612db6c6697ccef8b7811493 (patch) | |
tree | 4544b2748a4fb82bc1bb8e7a319c8f17491b4206 /drivers/net/ipa/ipa_gsi.h | |
parent | 5cb431dcf8048572e9ffc6c30cdbd8832cbe502d (diff) | |
download | linux-ff39eefde76a2ae1612db6c6697ccef8b7811493.tar.xz |
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 <elder@linaro.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ipa/ipa_gsi.h')
0 files changed, 0 insertions, 0 deletions