Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47f06c2f authored by Gabriel Laskar's avatar Gabriel Laskar
Browse files

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: default avatarGabriel Laskar <gabriel@lse.epita.fr>
Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>
parent 6a14d01b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@
#ifndef 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) | \
				 ((__u32)(c) << 16) | ((__u32)(d) << 24))