projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a287c3
)
upstream: [media] em28xx-cards: em28xx_devused can be static
author
Fengguang Wu
<fengguang.wu@intel.com>
Wed, 15 Jan 2014 21:50:26 +0000
(18:50 -0300)
committer
Chanho Park
<chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:44 +0000
(14:26 +0900)
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>
drivers/media/usb/em28xx/em28xx-cards.c
patch
|
blob
|
history
diff --git
a/drivers/media/usb/em28xx/em28xx-cards.c
b/drivers/media/usb/em28xx/em28xx-cards.c
index
32f087d
..
ed0edfd
100644
(file)
--- 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;