• Alex Elder's avatar
    net: ipa: include some standard header files · ff39eefd
    Alex Elder authored
    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: default avatarAlex Elder <elder@linaro.org>
    Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
    ff39eefd
ipa_data-v3.5.1.c 9.65 KB