aboutsummaryrefslogtreecommitdiff
path: root/arch/m68k/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-11-14 12:57:40 -0700
committerTom Rini <trini@konsulko.com>2019-12-02 18:24:59 -0500
commit9d3915b2dfe9bf5c9b09ba9119a194ff87746107 (patch)
treec5ecc7d92164d0cbbb04bbce2500567b09058012 /arch/m68k/lib
parent1eb69ae498567bb0b62ee554647204e8245cdacc (diff)
downloadu-boot-9d3915b2dfe9bf5c9b09ba9119a194ff87746107.zip
u-boot-9d3915b2dfe9bf5c9b09ba9119a194ff87746107.tar.gz
u-boot-9d3915b2dfe9bf5c9b09ba9119a194ff87746107.tar.bz2
arm: powerpc: Tidy up code style for interrupt functions
Remove the unwanted space before the bracket. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/m68k/lib')
-rw-r--r--arch/m68k/lib/interrupts.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/m68k/lib/interrupts.c b/arch/m68k/lib/interrupts.c
index 2d1c613..85ae3b4 100644
--- a/arch/m68k/lib/interrupts.c
+++ b/arch/m68k/lib/interrupts.c
@@ -42,7 +42,7 @@ static __inline__ void set_sr (unsigned short sr)
/*
* Install and free an interrupt handler
*/
-void irq_install_handler (int vec, interrupt_handler_t * handler, void *arg)
+void irq_install_handler(int vec, interrupt_handler_t * handler, void *arg)
{
if ((vec < 0) || (vec >= NR_IRQS)) {
printf ("irq_install_handler: wrong interrupt vector %d\n",
@@ -54,7 +54,7 @@ void irq_install_handler (int vec, interrupt_handler_t * handler, void *arg)
irq_vecs[vec].arg = arg;
}
-void irq_free_handler (int vec)
+void irq_free_handler(int vec)
{
if ((vec < 0) || (vec >= NR_IRQS)) {
return;
@@ -64,7 +64,7 @@ void irq_free_handler (int vec)
irq_vecs[vec].arg = NULL;
}
-void enable_interrupts (void)
+void enable_interrupts(void)
{
unsigned short sr;
@@ -72,7 +72,7 @@ void enable_interrupts (void)
set_sr (sr & ~0x0700);
}
-int disable_interrupts (void)
+int disable_interrupts(void)
{
unsigned short sr;