projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2791ee8
)
drm: drop __KERNEL__ protection in drmP.h
author
David Herrmann
<dh.herrmann@gmail.com>
Fri, 29 Aug 2014 10:12:34 +0000
(12:12 +0200)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 10 Sep 2014 07:40:39 +0000
(17:40 +1000)
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>
include/drm/drmP.h
patch
|
blob
|
blame
|
history
diff --git
a/include/drm/drmP.h
b/include/drm/drmP.h
index 31fb3004777075375a1fcf3f060e94dc0d42d3e7..d3504c6ff15e2e9588e4b454aa87540517529688 100644
(file)
--- 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