omap: include omap_drm.h independently

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>
main
Víctor Manuel Jáquez Leal 2012-08-09 13:34:54 +02:00 committed by Rob Clark
parent 3163cfe4db
commit f215d65137
1 changed files with 2 additions and 1 deletions

View 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.