Instead of using linux/types.h, drm headers should use drm.h, in order to handle the portability issues in only one place.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -27,7 +27,7 @@ · 26 unmodified lines | |||
| 27 | #ifndef _DRM_MODE_H | 27 | #ifndef _DRM_MODE_H |
| 28 | #define _DRM_MODE_H | 28 | #define _DRM_MODE_H |
| 29 | 29 | ||
| 30 | #include <linux/types.h> | 30 | #include "drm.h" |
| 31 | 31 | ||
| 32 | #define DRM_DISPLAY_INFO_LEN 32 | 32 | #define DRM_DISPLAY_INFO_LEN 32 |
| 33 | #define DRM_CONNECTOR_NAME_LEN 32 | 33 | #define DRM_CONNECTOR_NAME_LEN 32 |