summaryrefslogtreecommitdiff
path: root/v4l/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/compat.h')
-rw-r--r--v4l/compat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index b245c95e2..19d648d5e 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -311,8 +311,8 @@ usb_to_input_id(const struct usb_device *dev, struct input_id *id)
}
#endif
-#ifndef PCIAGP_FAIL
- #define PCIAGP_FAIL 0
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
+# define PCIAGP_FAIL 0
#endif
#ifndef true