diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2008-04-30 18:25:18 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-05-02 01:00:44 -0400 |
commit | fdedb4caea36cfc00571928a727ac87906037712 (patch) | |
tree | 30381c487ac741347501bce783dad2192cec2c6f /arch/powerpc/platforms/ps3/interrupt.c | |
parent | 483d8876f75aa5707a646442377051f1b90db206 (diff) |
[POWERPC] PS3: Make ps3_virq_setup and ps3_virq_destroy static
The routines ps3_virq_setup() and ps3_virq_destroy() are used
in only one file, so make them static.
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/ps3/interrupt.c')
-rw-r--r-- | arch/powerpc/platforms/ps3/interrupt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/ps3/interrupt.c b/arch/powerpc/platforms/ps3/interrupt.c index a14e5cdc2fe..e59634f7af9 100644 --- a/arch/powerpc/platforms/ps3/interrupt.c +++ b/arch/powerpc/platforms/ps3/interrupt.c | |||
@@ -167,8 +167,8 @@ static struct irq_chip ps3_irq_chip = { | |||
167 | * ps3_private data. | 167 | * ps3_private data. |
168 | */ | 168 | */ |
169 | 169 | ||
170 | int ps3_virq_setup(enum ps3_cpu_binding cpu, unsigned long outlet, | 170 | static int ps3_virq_setup(enum ps3_cpu_binding cpu, unsigned long outlet, |
171 | unsigned int *virq) | 171 | unsigned int *virq) |
172 | { | 172 | { |
173 | int result; | 173 | int result; |
174 | struct ps3_private *pd; | 174 | struct ps3_private *pd; |
@@ -217,7 +217,7 @@ fail_create: | |||
217 | * Clears chip data and calls irq_dispose_mapping() for the virq. | 217 | * Clears chip data and calls irq_dispose_mapping() for the virq. |
218 | */ | 218 | */ |
219 | 219 | ||
220 | int ps3_virq_destroy(unsigned int virq) | 220 | static int ps3_virq_destroy(unsigned int virq) |
221 | { | 221 | { |
222 | const struct ps3_private *pd = get_irq_chip_data(virq); | 222 | const struct ps3_private *pd = get_irq_chip_data(virq); |
223 | 223 | ||