提交 32abc552 编写于 作者: D David Herrmann 提交者: Dave Airlie

drm: drop __KERNEL__ protection in drmP.h

drmP.h is internal to the kernel. No need to keep the __KERNEL__
protection.
Signed-off-by: NDavid Herrmann <dh.herrmann@gmail.com>
Reviewed-by: NThierry Reding <treding@nvidia.com>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 2791ee85
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册