summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
Diffstat (limited to 'v4l')
-rw-r--r--v4l/compat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index 8c4db090c..354f55736 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -12,7 +12,8 @@
#endif
#if defined(I2C_ADAP_CLASS_TV_ANALOG) && !defined(I2C_CLASS_TV_ANALOG)
-# define I2C_CLASS_TV_ANALOG I2C_ADAP_CLASS_TV_ANALOG
+# define I2C_CLASS_TV_ANALOG I2C_ADAP_CLASS_TV_ANALOG
+# define I2C_CLASS_TV_DIGITAL I2C_ADAP_CLASS_TV_DIGITAL
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,6)