From: Arnd Bergmann Date: Tue, 28 Mar 2017 14:10:32 +0000 (+0200) Subject: aspeed-lpc-ctrl: include linux/types.h for uapi header X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f580ff0e404e5aad83f02093cd22f2475cad6e71;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 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 Acked-by: Joel Stanley Signed-off-by: Greg Kroah-Hartman --- 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 +#include /* Window types */ #define ASPEED_LPC_CTRL_WINDOW_FLASH 1