From: Fengguang Wu Date: Wed, 15 Jan 2014 22:42:57 +0000 (-0300) Subject: upstream: [media] rc-core: ir_core_dev_number can be static X-Git-Tag: submit/tizen/20141121.110247~917 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8603846af9d97a037ef8568f232ecd80915aa037;p=platform%2Fkernel%2Flinux-3.10.git upstream: [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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c index e9841c6..5f35823f 100644 --- a/drivers/media/rc/rc-main.c +++ b/drivers/media/rc/rc-main.c @@ -24,7 +24,7 @@ /* Bitmap to store allocated device numbers from 0 to IRRCV_NUM_DEVICES - 1 */ #define IRRCV_NUM_DEVICES 256 -DECLARE_BITMAP(ir_core_dev_number, IRRCV_NUM_DEVICES); +static DECLARE_BITMAP(ir_core_dev_number, IRRCV_NUM_DEVICES); /* Sizes are in bytes, 256 bytes allows for 32 entries on x64 */ #define IR_TAB_MIN_SIZE 256