summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-03-28 16:10:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-08 17:37:20 +0200
commitf580ff0e404e5aad83f02093cd22f2475cad6e71 (patch)
tree0ca86c3fcabf843f81d522555ba2e0361e14ff73
parent8ff0c5664a634bab05c646960c1730b7fd33ed90 (diff)
downloadlinux-f580ff0e404e5aad83f02093cd22f2475cad6e71.tar.gz
linux-f580ff0e404e5aad83f02093cd22f2475cad6e71.tar.bz2
linux-f580ff0e404e5aad83f02093cd22f2475cad6e71.zip
aspeed-lpc-ctrl: include linux/types.h for uapi header
The newly added header file triggers a sanity check: usr/include/linux/aspeed-lpc-ctrl.h:44: found __[us]{8,16,32,64} type without #include <linux/types.h> We should include linux/types.h explicitly to ensure the header can be included from user space. Fixes: 6c4e97678501 ("drivers/misc: Add Aspeed LPC control driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--include/uapi/linux/aspeed-lpc-ctrl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/aspeed-lpc-ctrl.h b/include/uapi/linux/aspeed-lpc-ctrl.h
index f96fa995a3f0..c328c976c684 100644
--- a/include/uapi/linux/aspeed-lpc-ctrl.h
+++ b/include/uapi/linux/aspeed-lpc-ctrl.h
@@ -11,6 +11,7 @@
#define _UAPI_LINUX_ASPEED_LPC_CTRL_H
#include <linux/ioctl.h>
+#include <linux/types.h>
/* Window types */
#define ASPEED_LPC_CTRL_WINDOW_FLASH 1