[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>
This commit is contained in:
parent
5d5f87bce6
commit
9e8ca38c52
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ MODULE_PARM_DESC(usb_xfer_mode,
|
||||||
|
|
||||||
|
|
||||||
/* Bitmask marking allocated devices from 0 to EM28XX_MAXBOARDS - 1 */
|
/* 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 {
|
struct em28xx_hash_table {
|
||||||
unsigned long hash;
|
unsigned long hash;
|
||||||
|
|
Loading…
Add table
Reference in a new issue