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

Commit 32abc552 authored by David Herrmann's avatar David Herrmann Committed by Dave Airlie
Browse files

drm: drop __KERNEL__ protection in drmP.h



drmP.h is internal to the kernel. No need to keep the __KERNEL__
protection.

Signed-off-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
Reviewed-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 2791ee85
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -35,7 +35,6 @@
#ifndef _DRM_P_H_
#define _DRM_P_H_

#ifdef __KERNEL__
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/kref.h>
@@ -1544,5 +1543,4 @@ static __inline__ bool drm_can_sleep(void)
	return true;
}

#endif				/* __KERNEL__ */
#endif