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.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -11,6 +11,7 @@ · 10 unmodified lines | |||
| 11 | #define _UAPI_LINUX_ASPEED_LPC_CTRL_H | 11 | #define _UAPI_LINUX_ASPEED_LPC_CTRL_H |
| 12 | 12 | ||
| 13 | #include <linux/ioctl.h> | 13 | #include <linux/ioctl.h> |
| 14 | #include <linux/types.h> | ||
| 14 | 15 | ||
| 15 | /* Window types */ | 16 | /* Window types */ |
| 16 | #define ASPEED_LPC_CTRL_WINDOW_FLASH 1 | 17 | #define ASPEED_LPC_CTRL_WINDOW_FLASH 1 |