OSDN Git Service

ANDROID: Include missing headers in goldfish.h
authorRoman Kiryanov <rkir@google.com>
Fri, 30 Mar 2018 21:31:46 +0000 (14:31 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 4 Apr 2018 14:54:36 +0000 (14:54 +0000)
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>
include/linux/goldfish.h

index 93e080b..e7e6f7a 100644 (file)
@@ -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,