aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/sonixj.c
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2010-10-01 06:33:26 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-20 23:06:20 -0400
commit2856643e2e18f306227ae1257b63fc713d426dc7 (patch)
tree95d66ed5853da693ec44729f592ee3e2f3dea80a /drivers/media/video/gspca/sonixj.c
parent85c55efb0a20c5dac435a6817ffb20fe988b9122 (diff)
V4L/DVB: gspca - many subdrivers: Handle the buttons when CONFIG_INPUT=m
Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/sonixj.c')
-rw-r--r--drivers/media/video/gspca/sonixj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c
index 583c3410a2c2..6e04ac79f401 100644
--- a/drivers/media/video/gspca/sonixj.c
+++ b/drivers/media/video/gspca/sonixj.c
@@ -2993,7 +2993,7 @@ static int sd_querymenu(struct gspca_dev *gspca_dev,
2993 return -EINVAL; 2993 return -EINVAL;
2994} 2994}
2995 2995
2996#ifdef CONFIG_INPUT 2996#if defined(CONFIG_INPUT) || defined(CONFIG_INPUT_MODULE)
2997static int sd_int_pkt_scan(struct gspca_dev *gspca_dev, 2997static int sd_int_pkt_scan(struct gspca_dev *gspca_dev,
2998 u8 *data, /* interrupt packet data */ 2998 u8 *data, /* interrupt packet data */
2999 int len) /* interrupt packet length */ 2999 int len) /* interrupt packet length */
@@ -3026,7 +3026,7 @@ static const struct sd_desc sd_desc = {
3026 .get_jcomp = sd_get_jcomp, 3026 .get_jcomp = sd_get_jcomp,
3027 .set_jcomp = sd_set_jcomp, 3027 .set_jcomp = sd_set_jcomp,
3028 .querymenu = sd_querymenu, 3028 .querymenu = sd_querymenu,
3029#ifdef CONFIG_INPUT 3029#if defined(CONFIG_INPUT) || defined(CONFIG_INPUT_MODULE)
3030 .int_pkt_scan = sd_int_pkt_scan, 3030 .int_pkt_scan = sd_int_pkt_scan,
3031#endif 3031#endif
3032}; 3032};