From 706624fee0167420a7d1a19ff209bfde52e5cee8 Mon Sep 17 00:00:00 2001 From: Jordan Crouse Date: Tue, 14 Apr 2020 14:36:19 -0600 Subject: [PATCH] includes: Make headers work with KERNEL_HEADER_TEST Fix up a number of headers to work with KERNEL_HEADER_TEST ahead of turning it on by default. Change-Id: Ic0dedbaddba2fa62ec60d93bf3e4ef06ededa4cc Signed-off-by: Jordan Crouse --- include/linux/adc-tm-clients.h | 1 + include/linux/dma-buf-ref.h | 4 +++- include/linux/input/touch_event_notify.h | 4 ++++ include/linux/ipc_logging.h | 3 ++- include/linux/msm-sps.h | 3 ++- include/linux/qpnp/qpnp-pbs.h | 3 ++- include/soc/qcom/lpm-stats.h | 3 ++- include/soc/qcom/lpm_levels.h | 3 ++- 8 files changed, 18 insertions(+), 6 deletions(-) diff --git a/include/linux/adc-tm-clients.h b/include/linux/adc-tm-clients.h index 8b39f15720fc..b3837da69162 100644 --- a/include/linux/adc-tm-clients.h +++ b/include/linux/adc-tm-clients.h @@ -6,6 +6,7 @@ #ifndef __QCOM_ADC_TM_H_CLIENTS__ #define __QCOM_ADC_TM_H_CLIENTS__ +#include #include struct adc_tm_chip; diff --git a/include/linux/dma-buf-ref.h b/include/linux/dma-buf-ref.h index 5aa363966d9d..a9fe527976b6 100644 --- a/include/linux/dma-buf-ref.h +++ b/include/linux/dma-buf-ref.h @@ -1,11 +1,13 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. */ #ifndef _DMA_BUF_REF_H #define _DMA_BUF_REF_H +#include + struct msm_dma_buf; struct seq_file; diff --git a/include/linux/input/touch_event_notify.h b/include/linux/input/touch_event_notify.h index af2e61b4bb74..1e812aa2c405 100644 --- a/include/linux/input/touch_event_notify.h +++ b/include/linux/input/touch_event_notify.h @@ -11,6 +11,8 @@ #ifndef _TOUCHEVENTNOTIFY_H #define _TOUCHEVENTNOTIFY_H +#include + struct touch_event { struct timeval time; int x; @@ -23,6 +25,8 @@ struct touch_event { #define EVENT_TYPE_MOVE 'M' #define EVENT_TYPE_UP 'U' +struct notifier_block; + /* caller API */ int touch_event_register_notifier(struct notifier_block *nb); int touch_event_unregister_notifier(struct notifier_block *nb); diff --git a/include/linux/ipc_logging.h b/include/linux/ipc_logging.h index 81936c52f3f9..d741e8f0e116 100644 --- a/include/linux/ipc_logging.h +++ b/include/linux/ipc_logging.h @@ -1,11 +1,12 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2012-2015,2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2015,2017,2020 The Linux Foundation. All rights reserved. */ #ifndef _IPC_LOGGING_H #define _IPC_LOGGING_H +#include #include #define MAX_MSG_SIZE 255 diff --git a/include/linux/msm-sps.h b/include/linux/msm-sps.h index 72658bd6a74a..b320730014f0 100644 --- a/include/linux/msm-sps.h +++ b/include/linux/msm-sps.h @@ -1,12 +1,13 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved. */ /* Smart-Peripheral-Switch (SPS) API. */ #ifndef _SPS_H_ #define _SPS_H_ +#include #include /* u32 */ #if defined(CONFIG_PHYS_ADDR_T_64BIT) || defined(CONFIG_ARM_LPAE) diff --git a/include/linux/qpnp/qpnp-pbs.h b/include/linux/qpnp/qpnp-pbs.h index 1fced241a9b9..771170485c85 100644 --- a/include/linux/qpnp/qpnp-pbs.h +++ b/include/linux/qpnp/qpnp-pbs.h @@ -1,11 +1,12 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. */ #ifndef _QPNP_PBS_H #define _QPNP_PBS_H +#include #include struct device_node; diff --git a/include/soc/qcom/lpm-stats.h b/include/soc/qcom/lpm-stats.h index 1a540bba476c..4795323c0835 100644 --- a/include/soc/qcom/lpm-stats.h +++ b/include/soc/qcom/lpm-stats.h @@ -1,13 +1,14 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2014-2015,2017,2019 The Linux Foundation. All rights reserved. + * Copyright (c) 2014-2015,2017,2019-2020 The Linux Foundation. All rights reserved. */ #ifndef __ARCH_ARM_MACH_MSM_LPM_STATS_H #define __ARCH_ARM_MACH_MSM_LPM_STATS_H #include +#include #include struct lpm_stats; diff --git a/include/soc/qcom/lpm_levels.h b/include/soc/qcom/lpm_levels.h index a56c2263e4f8..1fcf312b88c6 100644 --- a/include/soc/qcom/lpm_levels.h +++ b/include/soc/qcom/lpm_levels.h @@ -1,12 +1,13 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. */ #ifndef __SOC_QCOM_LPM_LEVEL_H__ #define __SOC_QCOM_LPM_LEVEL_H__ +#include #include struct cpumask;