summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRoman Kiryanov <rkir@google.com>2018-03-30 14:31:46 -0700
committerGreg Kroah-Hartman <gregkh@google.com>2018-04-04 14:54:36 +0000
commit014fa364f80b4607b1f6d88eda43fad07fadf3e6 (patch)
treeb338cb34cf4ba8d27e7fce31e0f1998f3fc7a22c /include/linux
parentf89b70f28f5555378c1e176f4cde015ff60eed73 (diff)
ANDROID: Include missing headers in goldfish.h
Include headers to define 'dma_addr_t' and 'writel' symbols that goldfish.h refers to. Bug: 72886167 Change-Id: I0bb16d739e15edbedb779468bffc8ef46d9b6982 Signed-off-by: Roman Kiryanov <rkir@google.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/goldfish.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/goldfish.h b/include/linux/goldfish.h
index 93e080b39cf6..e7e6f7aff124 100644
--- a/include/linux/goldfish.h
+++ b/include/linux/goldfish.h
@@ -1,6 +1,9 @@
#ifndef __LINUX_GOLDFISH_H
#define __LINUX_GOLDFISH_H
+#include <linux/types.h>
+#include <linux/io.h>
+
/* Helpers for Goldfish virtual platform */
static inline void gf_write_ptr(const void *ptr, void __iomem *portl,