OSDN Git Service

omap: include omap_drm.h independently
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 9 Aug 2012 11:34:54 +0000 (13:34 +0200)
committerRob Clark <rob@ti.com>
Thu, 23 Aug 2012 19:21:01 +0000 (14:21 -0500)
omap_drm.h uses data type defined in stdint.h, but that header was
not included.

omap_drm.h includes drm.h as a local file when it is part of the
compiler c flags.

This two issues are fixed. New code can include omap_drm.h alone.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Signed-off-by: Rob Clark <rob@ti.com>
omap/omap_drm.h

index f677cd8..9c6c0e4 100644 (file)
@@ -29,7 +29,8 @@
 #ifndef __OMAP_DRM_H__
 #define __OMAP_DRM_H__
 
-#include "drm.h"
+#include <stdint.h>
+#include <drm.h>
 
 /* Please note that modifications to all structs defined here are
  * subject to backwards-compatibility constraints.