include: Fixup headers to pass KERNEL_HEADER_TEST
Fix up a bunch of headers so that they pass KERNEL_HEADER_TEST to ensure that they are self-contained. Change-Id: Ic0dedbad91f70263452c9a809333fe93c8ee2266 Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
parent
9195ca3327
commit
c7f16608d4
@ -6,6 +6,8 @@
|
||||
#ifndef __LINUX_BLUETOOTH_POWER_H
|
||||
#define __LINUX_BLUETOOTH_POWER_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
/*
|
||||
* voltage regulator information required for configuring the
|
||||
* bluetooth chipset
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
#include <dt-bindings/input/qcom,qpnp-power-on.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
/**
|
||||
* enum pon_trigger_source: List of PON trigger sources
|
||||
|
@ -15,6 +15,7 @@
|
||||
typedef u64 av8l_fast_iopte;
|
||||
|
||||
struct io_pgtable_ops;
|
||||
struct scatterlist;
|
||||
|
||||
#ifdef CONFIG_IOMMU_IO_PGTABLE_FAST
|
||||
|
||||
|
@ -6,6 +6,12 @@
|
||||
#ifndef _IPA_USB_H_
|
||||
#define _IPA_USB_H_
|
||||
|
||||
#include <linux/if_ether.h>
|
||||
#include <linux/ipa.h>
|
||||
#include <linux/msm_gsi.h>
|
||||
#include <linux/msm_ipa.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
enum ipa_usb_teth_prot {
|
||||
IPA_USB_RNDIS = 0,
|
||||
IPA_USB_ECM = 1,
|
||||
|
@ -6,6 +6,8 @@
|
||||
#ifndef __MSM_GPI_H_
|
||||
#define __MSM_GPI_H_
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct __packed msm_gpi_tre {
|
||||
u32 dword[4];
|
||||
};
|
||||
@ -196,6 +198,8 @@ struct msm_gpi_cb {
|
||||
struct msm_gpi_error_log error_log;
|
||||
};
|
||||
|
||||
struct dma_chan;
|
||||
|
||||
struct gpi_client_info {
|
||||
/*
|
||||
* memory for msm_gpi_cb is released after callback, clients shall
|
||||
|
@ -6,6 +6,8 @@
|
||||
#ifndef __LINUX_PINCTRL_MSM_H__
|
||||
#define __LINUX_PINCTRL_MSM_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
/* APIS to access qup_i3c registers */
|
||||
int msm_qup_write(u32 mode, u32 val);
|
||||
int msm_qup_read(u32 mode);
|
||||
|
@ -6,6 +6,10 @@
|
||||
#ifndef _QPNP_PBS_H
|
||||
#define _QPNP_PBS_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct device_node;
|
||||
|
||||
#if IS_ENABLED(CONFIG_QPNP_PBS)
|
||||
int qpnp_pbs_trigger_event(struct device_node *dev_node, u8 bitmap);
|
||||
#else
|
||||
|
@ -6,6 +6,8 @@
|
||||
#ifndef __QPNP_REVID
|
||||
#define __QPNP_REVID
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
/* Common TYPE for all PMICs */
|
||||
#define PMIC_TYPE 0x51
|
||||
|
||||
@ -330,6 +332,8 @@ struct pmic_revid_data {
|
||||
int tp_rev;
|
||||
};
|
||||
|
||||
struct device_node;
|
||||
|
||||
#if IS_ENABLED(CONFIG_QPNP_REVID)
|
||||
struct pmic_revid_data *get_revid_data(struct device_node *dev_node);
|
||||
#else
|
||||
|
@ -6,6 +6,8 @@
|
||||
#ifndef __CORE_CTL_H
|
||||
#define __CORE_CTL_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#define MAX_CPUS_PER_CLUSTER 6
|
||||
#define MAX_CLUSTERS 3
|
||||
|
||||
@ -16,6 +18,8 @@ struct core_ctl_notif_data {
|
||||
unsigned int cur_cap_pct[MAX_CLUSTERS];
|
||||
};
|
||||
|
||||
struct notifier_block;
|
||||
|
||||
#ifdef CONFIG_SCHED_WALT
|
||||
extern int __weak core_ctl_set_boost(bool boost);
|
||||
extern void __weak core_ctl_notifier_register(struct notifier_block *n);
|
||||
|
@ -6,7 +6,10 @@
|
||||
#ifndef _PMIC_GLINK_H
|
||||
#define _PMIC_GLINK_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct pmic_glink_client;
|
||||
struct device;
|
||||
|
||||
/**
|
||||
* struct pmic_glink_client_data - pmic_glink client data
|
||||
|
@ -6,6 +6,8 @@
|
||||
#ifndef __SPI_GENI_QCOM_HEADER___
|
||||
#define __SPI_GENI_QCOM_HEADER___
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct spi_geni_qcom_ctrl_data {
|
||||
u32 spi_cs_clk_delay;
|
||||
u32 spi_inter_words_delay;
|
||||
|
@ -6,6 +6,8 @@
|
||||
#ifndef __LINUX_USB_CCID_DESC_H
|
||||
#define __LINUX_USB_CCID_DESC_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
/*CCID specification version 1.10*/
|
||||
#define CCID1_10 0x0110
|
||||
|
||||
|
@ -6,6 +6,8 @@
|
||||
#ifndef __LINUX_USB_QDSS_H
|
||||
#define __LINUX_USB_QDSS_H
|
||||
|
||||
#include <linux/err.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/kernel.h>
|
||||
|
||||
#define USB_QDSS_CH_MDM "qdss_mdm"
|
||||
|
@ -4,6 +4,8 @@
|
||||
#ifndef _NET_CNSS_GENETLINK_H_
|
||||
#define _NET_CNSS_GENETLINK_H_
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#define CLD80211_MAX_COMMANDS 40
|
||||
#define CLD80211_MAX_NL_DATA 4096
|
||||
|
||||
|
@ -4,6 +4,8 @@
|
||||
#ifndef _NET_CNSS_PREALLOC_H_
|
||||
#define _NET_CNSS_PREALLOC_H_
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#define WCNSS_PRE_ALLOC_GET_THRESHOLD (4*1024)
|
||||
|
||||
extern void *wcnss_prealloc_get(size_t size);
|
||||
|
@ -4,6 +4,10 @@
|
||||
#ifndef _CNSS_UTILS_H_
|
||||
#define _CNSS_UTILS_H_
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct device;
|
||||
|
||||
enum cnss_utils_cc_src {
|
||||
CNSS_UTILS_SOURCE_CORE,
|
||||
CNSS_UTILS_SOURCE_11D,
|
||||
|
@ -7,6 +7,8 @@
|
||||
#ifndef _RMNET_CONFIG_H_
|
||||
#define _RMNET_CONFIG_H_
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct rmnet_map_header_s {
|
||||
#ifndef RMNET_USE_BIG_ENDIAN_STRUCTS
|
||||
uint8_t pad_len:6;
|
||||
|
@ -10,6 +10,10 @@
|
||||
#ifndef __VIRT_WIFI_H
|
||||
#define __VIRT_WIFI_H
|
||||
|
||||
struct net_device;
|
||||
struct wiphy;
|
||||
struct cfg80211_scan_request;
|
||||
|
||||
struct virt_wifi_network_simulation {
|
||||
void (*notify_device_open)(struct net_device *dev);
|
||||
void (*notify_device_stop)(struct net_device *dev);
|
||||
|
@ -7,6 +7,9 @@
|
||||
#ifndef __ARCH_ARM_MACH_MSM_LPM_STATS_H
|
||||
#define __ARCH_ARM_MACH_MSM_LPM_STATS_H
|
||||
|
||||
#include <linux/cpumask.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
struct lpm_stats;
|
||||
|
||||
#define MAX_STR_LEN 256
|
||||
|
@ -7,6 +7,10 @@
|
||||
#ifndef __SOC_QCOM_LPM_LEVEL_H__
|
||||
#define __SOC_QCOM_LPM_LEVEL_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct cpumask;
|
||||
|
||||
struct system_pm_ops {
|
||||
int (*enter)(struct cpumask *mask);
|
||||
void (*exit)(bool success);
|
||||
|
@ -6,6 +6,7 @@
|
||||
#ifndef __MSM_MEMORY_DUMP_H
|
||||
#define __MSM_MEMORY_DUMP_H
|
||||
|
||||
#include <linux/errno.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
enum dump_client_type {
|
||||
|
@ -6,6 +6,8 @@
|
||||
#ifndef __MINIDUMP_H
|
||||
#define __MINIDUMP_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#define MAX_NAME_LENGTH 12
|
||||
/* md_region - Minidump table entry
|
||||
* @name: Entry name, Minidump will dump binary with this name.
|
||||
|
@ -6,6 +6,8 @@
|
||||
#ifndef __MACH_SCM_H
|
||||
#define __MACH_SCM_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#define SCM_SVC_BOOT 0x1
|
||||
#define SCM_SVC_PIL 0x2
|
||||
#define SCM_SVC_UTIL 0x3
|
||||
|
@ -10,6 +10,8 @@
|
||||
#ifndef _SERVICE_LOCATOR_H
|
||||
#define _SERVICE_LOCATOR_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#define QMI_SERVREG_LOC_NAME_LENGTH_V01 64
|
||||
#define QMI_SERVREG_LOC_LIST_LENGTH_V01 32
|
||||
|
||||
@ -50,6 +52,8 @@ enum service_locator_state {
|
||||
LOCATOR_UP = 0x1F,
|
||||
};
|
||||
|
||||
struct notifier_block;
|
||||
|
||||
#if IS_ENABLED(CONFIG_MSM_SERVICE_LOCATOR)
|
||||
/*
|
||||
* Use this api to request information regarding the process domains on
|
||||
|
@ -10,6 +10,8 @@
|
||||
#ifndef _SERVICE_NOTIFIER_H
|
||||
#define _SERVICE_NOTIFIER_H
|
||||
|
||||
#include <linux/limits.h>
|
||||
|
||||
enum qmi_servreg_notif_service_state_enum_type_v01 {
|
||||
QMI_SERVREG_NOTIF_SERVICE_STATE_ENUM_TYPE_MIN_VAL_V01 = INT_MIN,
|
||||
QMI_SERVREG_NOTIF_SERVICE_STATE_ENUM_TYPE_MAX_VAL_V01 = INT_MAX,
|
||||
@ -27,6 +29,9 @@ enum pd_subsys_state {
|
||||
ROOT_PD_SHUTDOWN,
|
||||
USER_PD_STATE_CHANGE,
|
||||
};
|
||||
|
||||
struct notifier_block;
|
||||
|
||||
#if IS_ENABLED(CONFIG_MSM_SERVICE_NOTIFIER)
|
||||
|
||||
/* service_notif_register_notifier() - Register a notifier for a service
|
||||
|
@ -9,6 +9,7 @@
|
||||
#if !defined(_TRACE_ION_H) || defined(TRACE_HEADER_MULTI_READ)
|
||||
#define _TRACE_ION_H
|
||||
|
||||
#include <linux/dma-direction.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/tracepoint.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user