diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2014-01-15 17:42:57 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-02-04 10:04:19 -0500 |
commit | 692a228e9ae419b3f51e94d1c60c1b18f37e3676 (patch) | |
tree | bfc068bb6cdb7fcdb15313d105616afdccd32472 /drivers/media/rc/rc-main.c | |
parent | 9e8ca38c5250d434874a13c7ba8b97b9126b746d (diff) |
[media] rc-core: ir_core_dev_number can be static
Fix sparse warning:
drivers/media/rc/rc-main.c:27:1: sparse: symbol 'ir_core_dev_number' 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/rc/rc-main.c')
-rw-r--r-- | drivers/media/rc/rc-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c index 02e2f38c9c85..399eef4e966a 100644 --- a/drivers/media/rc/rc-main.c +++ b/drivers/media/rc/rc-main.c | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | /* Bitmap to store allocated device numbers from 0 to IRRCV_NUM_DEVICES - 1 */ | 25 | /* Bitmap to store allocated device numbers from 0 to IRRCV_NUM_DEVICES - 1 */ |
26 | #define IRRCV_NUM_DEVICES 256 | 26 | #define IRRCV_NUM_DEVICES 256 |
27 | DECLARE_BITMAP(ir_core_dev_number, IRRCV_NUM_DEVICES); | 27 | static DECLARE_BITMAP(ir_core_dev_number, IRRCV_NUM_DEVICES); |
28 | 28 | ||
29 | /* Sizes are in bytes, 256 bytes allows for 32 entries on x64 */ | 29 | /* Sizes are in bytes, 256 bytes allows for 32 entries on x64 */ |
30 | #define IR_TAB_MIN_SIZE 256 | 30 | #define IR_TAB_MIN_SIZE 256 |