]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/tegra: Include header drm/drm.h
authorEmil Goode <emilgoode@gmail.com>
Fri, 26 Apr 2013 17:49:51 +0000 (19:49 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Sun, 26 May 2013 20:30:47 +0000 (22:30 +0200)
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>
include/uapi/drm/tegra_drm.h

index 6e132a2f7420ed3986f3f109e14c4281b1510a85..73bde4eaf16c2042038ce6435072ab8d39632e41 100644 (file)
@@ -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;