summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-09-03 09:49:20 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-09-03 09:49:20 +0100
commitdefa3edd60084d83303b9d17251493ad3da486c8 (patch)
treea3772d38dfd06c624f98520dd1f39a77ff9a4f58 /v4l
parent28112395096dc4e16c80176a29ee15dad1706bc6 (diff)
downloadmediapointer-dvb-s2-defa3edd60084d83303b9d17251493ad3da486c8.tar.gz
mediapointer-dvb-s2-defa3edd60084d83303b9d17251493ad3da486c8.tar.bz2
backport commit aa7a7fb3990ffc74945494cbd2fc6e920825ee2c
From: Mauro Carvalho Chehab <mchehab@redhat.com> Author: David Woodhouse <David.Woodhouse@intel.com> Define and use PCI_DEVICE_ID_MARVELL_88ALP01_CCIC for CAFÉ camera driver Also, stop looking at the NAND controller (0x4100) and checking the device class. For a while during development, all three functions on the chip had the same ID. We made them fix that fairly promptly, and we can forget about it now. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'v4l')
-rw-r--r--v4l/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index 0e2ccd7a9..f3dfceafe 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -250,4 +250,8 @@ static inline int list_is_singular(const struct list_head *head)
#define snd_BUG_ON(cond) WARN((cond), "BUG? (%s)\n", __stringify(cond))
#endif
+#ifndef PCI_DEVICE_ID_MARVELL_88ALP01_CCIC
+#define PCI_DEVICE_ID_MARVELL_88ALP01_CCIC 0x4102
+#endif
+
#endif