Skip to content

Commit 0cd3f56

Browse files
Zou Weijwrdegoede
authored andcommitted
platform/x86: ISST: Mark mmio_range_devid_0 and mmio_range_devid_1 with static keyword
Fix the following sparse warnings: drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c:23:24: warning: symbol 'mmio_range_devid_0' was not declared. Should it be static? drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c:28:24: warning: symbol 'mmio_range_devid_1' was not declared. Should it be static? Signed-off-by: Zou Wei <zou_wei@huawei.com> Link: https://lore.kernel.org/r/1607430489-116200-1-git-send-email-zou_wei@huawei.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
1 parent 7067be7 commit 0cd3f56

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ struct isst_mmio_range {
2020
int end;
2121
};
2222

23-
struct isst_mmio_range mmio_range_devid_0[] = {
23+
static struct isst_mmio_range mmio_range_devid_0[] = {
2424
{0x04, 0x14},
2525
{0x20, 0xD0},
2626
};
2727

28-
struct isst_mmio_range mmio_range_devid_1[] = {
28+
static struct isst_mmio_range mmio_range_devid_1[] = {
2929
{0x04, 0x14},
3030
{0x20, 0x11C},
3131
};

0 commit comments

Comments
 (0)