On 02/02/2024 10:21, Hans Verkuil wrote: > This fixes a sparse warning: > > drivers/staging/media/atomisp/pci/atomisp_drvfs.c:40:14: warning: symbol 'dbgopt' was not declared. Should it be static? > > Signed-off-by: Hans Verkuil <hverkuil-cisco@xxxxxxxxx> Fixes: b03301870d9b ("media: atomisp: Replace atomisp_drvfs attr with using driver.dev_groups attr") > --- > drivers/staging/media/atomisp/pci/atomisp_drvfs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/media/atomisp/pci/atomisp_drvfs.c b/drivers/staging/media/atomisp/pci/atomisp_drvfs.c > index 293171da1266..ba7dd569a55a 100644 > --- a/drivers/staging/media/atomisp/pci/atomisp_drvfs.c > +++ b/drivers/staging/media/atomisp/pci/atomisp_drvfs.c > @@ -37,7 +37,7 @@ > * bit 1: running binary > * bit 2: memory statistic > */ > -unsigned int dbgopt = OPTION_BIN_LIST; > +static unsigned int dbgopt = OPTION_BIN_LIST; > > static inline int iunit_dump_dbgopt(struct atomisp_device *isp, > unsigned int opt)