diff options
Diffstat (limited to 'drivers/media/video/gspca/pac207.c')
-rw-r--r-- | drivers/media/video/gspca/pac207.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/pac207.c b/drivers/media/video/gspca/pac207.c index c8da04bd115c..892b4549c6f8 100644 --- a/drivers/media/video/gspca/pac207.c +++ b/drivers/media/video/gspca/pac207.c | |||
@@ -494,7 +494,7 @@ static int sd_getautogain(struct gspca_dev *gspca_dev, __s32 *val) | |||
494 | return 0; | 494 | return 0; |
495 | } | 495 | } |
496 | 496 | ||
497 | #ifdef CONFIG_INPUT | 497 | #if defined(CONFIG_INPUT) || defined(CONFIG_INPUT_MODULE) |
498 | static int sd_int_pkt_scan(struct gspca_dev *gspca_dev, | 498 | static int sd_int_pkt_scan(struct gspca_dev *gspca_dev, |
499 | u8 *data, /* interrupt packet data */ | 499 | u8 *data, /* interrupt packet data */ |
500 | int len) /* interrput packet length */ | 500 | int len) /* interrput packet length */ |
@@ -524,7 +524,7 @@ static const struct sd_desc sd_desc = { | |||
524 | .stopN = sd_stopN, | 524 | .stopN = sd_stopN, |
525 | .dq_callback = pac207_do_auto_gain, | 525 | .dq_callback = pac207_do_auto_gain, |
526 | .pkt_scan = sd_pkt_scan, | 526 | .pkt_scan = sd_pkt_scan, |
527 | #ifdef CONFIG_INPUT | 527 | #if defined(CONFIG_INPUT) || defined(CONFIG_INPUT_MODULE) |
528 | .int_pkt_scan = sd_int_pkt_scan, | 528 | .int_pkt_scan = sd_int_pkt_scan, |
529 | #endif | 529 | #endif |
530 | }; | 530 | }; |