summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-08-29 12:12:34 +0200
committerDave Airlie <airlied@redhat.com>2014-09-10 17:40:39 +1000
commit32abc552bc869edcfa7b1c6ee365e0b58a134ec6 (patch)
treebf19176e33a2c506fe0b5cf6eb84816854ffd4a4 /include/drm
parent2791ee85e1e9805d600782e554f706458ec6c84e (diff)
downloadlinux-32abc552bc869edcfa7b1c6ee365e0b58a134ec6.tar.bz2
drm: drop __KERNEL__ protection in drmP.h
drmP.h is internal to the kernel. No need to keep the __KERNEL__ protection. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drmP.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 31fb30047770..d3504c6ff15e 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -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