diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-02-02 12:21:20 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-02-05 14:57:46 +0300 |
commit | 9590d1a03df53d2f95876085dc4dd3afa8454843 (patch) | |
tree | dea233e040d79ed1e958e2d473b12dfcc0410f94 /drivers/staging/media | |
parent | 83d48b5d39261be16902872367e89a0d1a874b0d (diff) | |
download | linux-9590d1a03df53d2f95876085dc4dd3afa8454843.tar.xz |
media: atomisp: make dbgopt static
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@xs4all.nl>
Diffstat (limited to 'drivers/staging/media')
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp_drvfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |