History

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.

Arnd Bergmann committed 9 years ago

Commit f580ff01 parent 8ff0c561 file · +1 −0Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/aspeed-lpc-ctrl.h+1−0
@@ -11,6 +11,7 @@ · 10 unmodified lines
1111 #define _UAPI_LINUX_ASPEED_LPC_CTRL_H
1212
1313 #include <linux/ioctl.h>
14+#include <linux/types.h>
1415
1516 /* Window types */
1617 #define ASPEED_LPC_CTRL_WINDOW_FLASH 1

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t