diff options
author | Ryan Mallon <ryan@bluewatersys.com> | 2011-05-20 03:34:20 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-05-20 17:32:42 -0400 |
commit | f6558bf92aed978a81514131e408326f25046137 (patch) | |
tree | 71060f65b72cedc859af89b65f278192d1e38f9f /arch/arm/mach-spear3xx/spear300.c | |
parent | 66b848e487ab8655815437993951ee26cc3c593f (diff) |
ARM: 6928/1: SPEAr3xx: Make local shirq structures static
Several structures in arch/arm/mach-spear3xx are not marked static
like they should be. Fix this.
Reviewed-by: Stanley Miao <stanley.miao@windriver.com>
Signed-off-by: Ryan Mallon <ryan@bluewatersys.com>
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-spear3xx/spear300.c')
-rw-r--r-- | arch/arm/mach-spear3xx/spear300.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-spear3xx/spear300.c b/arch/arm/mach-spear3xx/spear300.c index 2697e65adf86..3d749da0b826 100644 --- a/arch/arm/mach-spear3xx/spear300.c +++ b/arch/arm/mach-spear3xx/spear300.c | |||
@@ -371,7 +371,7 @@ struct pmx_driver pmx_driver = { | |||
371 | }; | 371 | }; |
372 | 372 | ||
373 | /* spear3xx shared irq */ | 373 | /* spear3xx shared irq */ |
374 | struct shirq_dev_config shirq_ras1_config[] = { | 374 | static struct shirq_dev_config shirq_ras1_config[] = { |
375 | { | 375 | { |
376 | .virq = VIRQ_IT_PERS_S, | 376 | .virq = VIRQ_IT_PERS_S, |
377 | .enb_mask = IT_PERS_S_IRQ_MASK, | 377 | .enb_mask = IT_PERS_S_IRQ_MASK, |
@@ -411,7 +411,7 @@ struct shirq_dev_config shirq_ras1_config[] = { | |||
411 | }, | 411 | }, |
412 | }; | 412 | }; |
413 | 413 | ||
414 | struct spear_shirq shirq_ras1 = { | 414 | static struct spear_shirq shirq_ras1 = { |
415 | .irq = IRQ_GEN_RAS_1, | 415 | .irq = IRQ_GEN_RAS_1, |
416 | .dev_config = shirq_ras1_config, | 416 | .dev_config = shirq_ras1_config, |
417 | .dev_count = ARRAY_SIZE(shirq_ras1_config), | 417 | .dev_count = ARRAY_SIZE(shirq_ras1_config), |