summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.h
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-10-09 08:14:03 +0200
committerJean-Francois Moine <moinejf@free.fr>2008-10-09 08:14:03 +0200
commitceadf20dadce549bd38cba5913f04e4af0db4e9c (patch)
tree4d9d66d06b4161e535c36af73bfb6f454f81d552 /linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.h
parentf4575151c70f193cff12f4bbcbd577580546a021 (diff)
downloadmediapointer-dvb-s2-ceadf20dadce549bd38cba5913f04e4af0db4e9c.tar.gz
mediapointer-dvb-s2-ceadf20dadce549bd38cba5913f04e4af0db4e9c.tar.bz2
gspca: Fix some compilation warnings in m5602.
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.h')
-rw-r--r--linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.h b/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.h
index 5d808a750..a39183252 100644
--- a/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.h
+++ b/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.h
@@ -339,7 +339,11 @@ static const unsigned char init_s5k4aa[][4] =
{SENSOR, S5K4AA_GAIN_2, 0xa0, 0x00}
};
-static const struct dmi_system_id s5k4aa_vflip_dmi_table[] = {
+static
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24)
+ const
+#endif
+ struct dmi_system_id s5k4aa_vflip_dmi_table[] = {
{
.ident = "Fujitsu-Siemens Amilo Xa 2528",
.matches = {