Browse Source

drm/tegra: Include header drm/drm.h

Include definitions of used types by including drm/drm.h

Sparse output:
/usr/include/drm/tegra_drm.h:21:
	found __[us]{8,16,32,64} type without
	#include <linux/types.h>

Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Emil Goode 12 years ago
parent
commit
a191e48d44
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/uapi/drm/tegra_drm.h

+ 2 - 0
include/uapi/drm/tegra_drm.h

@@ -17,6 +17,8 @@
 #ifndef _UAPI_TEGRA_DRM_H_
 #define _UAPI_TEGRA_DRM_H_
 
+#include <drm/drm.h>
+
 struct drm_tegra_gem_create {
 	__u64 size;
 	__u32 flags;