summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/drivers/media/dvb/ttpci/budget-ci.c9
-rw-r--r--v4l/compat.h2
2 files changed, 2 insertions, 9 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-ci.c b/linux/drivers/media/dvb/ttpci/budget-ci.c
index 6d1244cd1..0152eff90 100644
--- a/linux/drivers/media/dvb/ttpci/budget-ci.c
+++ b/linux/drivers/media/dvb/ttpci/budget-ci.c
@@ -100,17 +100,8 @@ struct budget_ci_ir {
int rc5_device;
u32 last_raw;
u32 ir_key;
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
bool have_command;
};
-#else
- int have_command;
-};
-enum {
- false = 0,
- true = 1
-};
-#endif
struct budget_ci {
struct budget budget;
diff --git a/v4l/compat.h b/v4l/compat.h
index 2b2de93a7..c3745b4b1 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -357,6 +357,8 @@ usb_to_input_id(const struct usb_device *dev, struct input_id *id)
# define PCIAGP_FAIL 0
#define vmalloc_32_user(a) vmalloc_32(a)
+
+typedef int bool;
#endif
#ifndef true