summaryrefslogtreecommitdiff
path: root/linux-core/drm_compat.h
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2007-04-12 15:10:08 +0100
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2007-04-12 15:10:08 +0100
commit9420ab4b419458605c678d179de6c80de23b8ee1 (patch)
tree9fb796bbcc3b80f7e89029bc5fd4668554d698ea /linux-core/drm_compat.h
parent9b7211dd6793dc62d11ad1ae980b22fa2d61f9dd (diff)
parentb1f0fd6dfbd1495aa08c6358e936582eeca042c8 (diff)
Merge remote branch 'origin/modesetting-101' into modesetting-101
Diffstat (limited to 'linux-core/drm_compat.h')
-rw-r--r--linux-core/drm_compat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux-core/drm_compat.h b/linux-core/drm_compat.h
index bc5fadc5..bada1fdf 100644
--- a/linux-core/drm_compat.h
+++ b/linux-core/drm_compat.h
@@ -60,6 +60,13 @@
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19))
#undef DRM_IRQ_ARGS
#define DRM_IRQ_ARGS int irq, void *arg, struct pt_regs *regs
+
+typedef _Bool bool;
+enum {
+ false = 0,
+ true = 1
+};
+
#endif
#ifndef list_for_each_safe