summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/em28xx/em28xx-cards.c
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2014-01-15 22:50:26 +0100
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-02-04 16:02:35 +0100
commit9e8ca38c5250d434874a13c7ba8b97b9126b746d (patch)
tree4a30af282f9c2da7384fe1dfb9f08ff2971e134a /drivers/media/usb/em28xx/em28xx-cards.c
parent[media] DocBook: partial rewrite of "Opening and Closing Devices" (diff)
downloadlinux-9e8ca38c5250d434874a13c7ba8b97b9126b746d.tar.xz
linux-9e8ca38c5250d434874a13c7ba8b97b9126b746d.zip
[media] em28xx-cards: em28xx_devused can be static
Fix sparse warning: drivers/media/usb/em28xx/em28xx-cards.c:69:1: sparse: symbol 'em28xx_devused' was not declared. Should it be static? Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/em28xx/em28xx-cards.c')
-rw-r--r--drivers/media/usb/em28xx/em28xx-cards.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-cards.c b/drivers/media/usb/em28xx/em28xx-cards.c
index 4d97a76cc3b0..eb39903e0001 100644
--- a/drivers/media/usb/em28xx/em28xx-cards.c
+++ b/drivers/media/usb/em28xx/em28xx-cards.c
@@ -66,7 +66,7 @@ MODULE_PARM_DESC(usb_xfer_mode,
/* Bitmask marking allocated devices from 0 to EM28XX_MAXBOARDS - 1 */
-DECLARE_BITMAP(em28xx_devused, EM28XX_MAXBOARDS);
+static DECLARE_BITMAP(em28xx_devused, EM28XX_MAXBOARDS);
struct em28xx_hash_table {
unsigned long hash;