aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-08-29 06:12:34 -0400
committerDave Airlie <airlied@redhat.com>2014-09-10 03:40:39 -0400
commit32abc552bc869edcfa7b1c6ee365e0b58a134ec6 (patch)
treebf19176e33a2c506fe0b5cf6eb84816854ffd4a4
parent2791ee85e1e9805d600782e554f706458ec6c84e (diff)
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>
-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 @@
35#ifndef _DRM_P_H_ 35#ifndef _DRM_P_H_
36#define _DRM_P_H_ 36#define _DRM_P_H_
37 37
38#ifdef __KERNEL__
39#include <linux/sched.h> 38#include <linux/sched.h>
40#include <linux/kernel.h> 39#include <linux/kernel.h>
41#include <linux/kref.h> 40#include <linux/kref.h>
@@ -1544,5 +1543,4 @@ static __inline__ bool drm_can_sleep(void)
1544 return true; 1543 return true;
1545} 1544}
1546 1545
1547#endif /* __KERNEL__ */
1548#endif 1546#endif