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 <jcrouse@codeaurora.org>
This commit is contained in:
Jordan Crouse 2020-04-14 14:36:19 -06:00
commit 706624fee0
8 changed files with 18 additions and 6 deletions

View file

@ -6,6 +6,7 @@
#ifndef __QCOM_ADC_TM_H_CLIENTS__
#define __QCOM_ADC_TM_H_CLIENTS__
#include <linux/err.h>
#include <linux/types.h>
struct adc_tm_chip;

View file

@ -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 <linux/errno.h>
struct msm_dma_buf;
struct seq_file;

View file

@ -11,6 +11,8 @@
#ifndef _TOUCHEVENTNOTIFY_H
#define _TOUCHEVENTNOTIFY_H
#include <linux/time.h>
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);

View file

@ -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 <linux/errno.h>
#include <linux/types.h>
#define MAX_MSG_SIZE 255

View file

@ -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 <linux/errno.h>
#include <linux/types.h> /* u32 */
#if defined(CONFIG_PHYS_ADDR_T_64BIT) || defined(CONFIG_ARM_LPAE)

View file

@ -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 <linux/errno.h>
#include <linux/types.h>
struct device_node;

View file

@ -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 <linux/cpumask.h>
#include <linux/err.h>
#include <linux/types.h>
struct lpm_stats;

View file

@ -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 <linux/errno.h>
#include <linux/types.h>
struct cpumask;