mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
drm: drm_fourcc.h fix includes
Instead of using linux/types.h, drm headers should use drm.h, in order to handle the portability issues in only one place. Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> CC: Emil Velikov <emil.l.velikov@gmail.com> CC: Mikko Rapeli <mikko.rapeli@iki.fi>
This commit is contained in:
parent
6a14d01b91
commit
47f06c2f93
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
#ifndef DRM_FOURCC_H
|
#ifndef DRM_FOURCC_H
|
||||||
#define DRM_FOURCC_H
|
#define DRM_FOURCC_H
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include "drm.h"
|
||||||
|
|
||||||
#define fourcc_code(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \
|
#define fourcc_code(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \
|
||||||
((__u32)(c) << 16) | ((__u32)(d) << 24))
|
((__u32)(c) << 16) | ((__u32)(d) << 24))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue