Commit 021d2ad0 authored by Eugen Hristev's avatar Eugen Hristev Committed by Mauro Carvalho Chehab

media: atmel: atmel-isc: fix i386 build error

Changed module parameters to static.
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarEugen Hristev <eugen.hristev@microchip.com>
Acked-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent ba74edc6
......@@ -35,11 +35,11 @@
#include "atmel-isc-regs.h"
#include "atmel-isc.h"
unsigned int debug;
static unsigned int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "debug level (0-2)");
unsigned int sensor_preferred = 1;
static unsigned int sensor_preferred = 1;
module_param(sensor_preferred, uint, 0644);
MODULE_PARM_DESC(sensor_preferred,
"Sensor is preferred to output the specified format (1-on 0-off), default 1");
......
......@@ -230,10 +230,6 @@ struct isc_device {
#define ATMEL_ISC_NAME "atmel-isc"
/* module parameters */
extern unsigned int debug;
extern unsigned int sensor_preferred;
extern struct isc_format formats_list[];
extern const struct isc_format controller_formats[];
extern const u32 isc_gamma_table[GAMMA_MAX + 1][GAMMA_ENTRIES];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment