trace: Make ion.h work with KERNEL_HEADER_TEST

Add #<include/device.h> to the ion.h trace file to resolve an undefined
struct warning.

Change-Id: Ic0dedbad134147cc1d02a3d8a8f4fd9a7920b77b
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
Jordan Crouse 2020-04-14 14:28:11 -06:00
commit 575fcd24c2

View file

@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2018,2020 The Linux Foundation. All rights reserved.
*/
#undef TRACE_SYSTEM
@ -9,6 +9,7 @@
#if !defined(_TRACE_ION_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_ION_H
#include <linux/device.h>
#include <linux/dma-direction.h>
#include <linux/types.h>
#include <linux/tracepoint.h>