diff options
author | Aaro Koskinen <aaro.koskinen@nokia.com> | 2010-11-18 12:59:48 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-11-24 19:48:27 -0500 |
commit | dba5e190fcbe2a76b1a867ec6cbe9d7009e43708 (patch) | |
tree | 5805b82c60b7572d0ff329399f26722dfa662ca2 /arch/arm/mach-omap1 | |
parent | e6f168212243452eae7c0d0c20c2f6e213933fc8 (diff) |
arm: omap1: mbox: make variables static
Make some variables static to get rid of the following warnings:
arch/arm/mach-omap1/mailbox.c:136:18: warning: symbol 'mbox_dsp_info' was not declared. Should it be static?
arch/arm/mach-omap1/mailbox.c:142:18: warning: symbol 'omap1_mboxes' was not declared. Should it be static?
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1')
-rw-r--r-- | arch/arm/mach-omap1/mailbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap1/mailbox.c b/arch/arm/mach-omap1/mailbox.c index 1a85a421007f..12d68801450f 100644 --- a/arch/arm/mach-omap1/mailbox.c +++ b/arch/arm/mach-omap1/mailbox.c | |||
@@ -133,13 +133,13 @@ static struct omap_mbox1_priv omap1_mbox_dsp_priv = { | |||
133 | }, | 133 | }, |
134 | }; | 134 | }; |
135 | 135 | ||
136 | struct omap_mbox mbox_dsp_info = { | 136 | static struct omap_mbox mbox_dsp_info = { |
137 | .name = "dsp", | 137 | .name = "dsp", |
138 | .ops = &omap1_mbox_ops, | 138 | .ops = &omap1_mbox_ops, |
139 | .priv = &omap1_mbox_dsp_priv, | 139 | .priv = &omap1_mbox_dsp_priv, |
140 | }; | 140 | }; |
141 | 141 | ||
142 | struct omap_mbox *omap1_mboxes[] = { &mbox_dsp_info, NULL }; | 142 | static struct omap_mbox *omap1_mboxes[] = { &mbox_dsp_info, NULL }; |
143 | 143 | ||
144 | static int __devinit omap1_mbox_probe(struct platform_device *pdev) | 144 | static int __devinit omap1_mbox_probe(struct platform_device *pdev) |
145 | { | 145 | { |