|
@@ -1114,7 +1114,8 @@ int cx231xx_enum_input(struct file *file, void *priv,
|
|
struct cx231xx_fh *fh = priv;
|
|
struct cx231xx_fh *fh = priv;
|
|
struct cx231xx *dev = fh->dev;
|
|
struct cx231xx *dev = fh->dev;
|
|
u32 gen_stat;
|
|
u32 gen_stat;
|
|
- unsigned int ret, n;
|
|
|
|
|
|
+ unsigned int n;
|
|
|
|
+ int ret;
|
|
|
|
|
|
n = i->index;
|
|
n = i->index;
|
|
if (n >= MAX_CX231XX_INPUT)
|
|
if (n >= MAX_CX231XX_INPUT)
|