Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 706624fe authored by Jordan Crouse's avatar Jordan Crouse
Browse files

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: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent cba97f25
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
+3 −1
Original line number Diff line number Diff line
/* 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;

+4 −0
Original line number Diff line number Diff line
@@ -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);
+2 −1
Original line number Diff line number Diff line
/* 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
+2 −1
Original line number Diff line number Diff line
/* 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)
Loading