diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2011-11-08 02:33:16 +0000 |
---|---|---|
committer | Graeme Russ <graeme.russ@gmail.com> | 2011-11-29 21:04:00 +1100 |
commit | 63a90bfb7e2794489acc708835958e1e4a6ea1d6 (patch) | |
tree | d52afb2035192d109e7557d93335d0bb8c044223 /board/eNET/eNET.c | |
parent | 83088afbba0c142fda5313866abd1e679d0f9e78 (diff) | |
download | u-boot-63a90bfb7e2794489acc708835958e1e4a6ea1d6.tar.gz |
cosmetic: checkpatch cleanup of board/eNET/*.c
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'board/eNET/eNET.c')
-rw-r--r-- | board/eNET/eNET.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c index c4ed82029d..429fe1b4ff 100644 --- a/board/eNET/eNET.c +++ b/board/eNET/eNET.c @@ -223,7 +223,7 @@ void setup_pcat_compatibility() * active low polarity on PIC interrupt pins, * active high polarity on all other irq pins */ - writew(0x0000,&sc520_mmcr->intpinpol); + writew(0x0000, &sc520_mmcr->intpinpol); /* * PIT 0 -> IRQ0 @@ -252,7 +252,7 @@ void setup_pcat_compatibility() void enet_timer_isr(void) { - static long enet_ticks = 0; + static long enet_ticks; enet_ticks++; @@ -281,9 +281,9 @@ void hw_watchdog_reset(void) void enet_toggle_run_led(void) { - unsigned char leds_state= inb(LED_LATCH_ADDRESS); + unsigned char leds_state = inb(LED_LATCH_ADDRESS); if (leds_state & LED_RUN_BITMASK) - outb(leds_state &~ LED_RUN_BITMASK, LED_LATCH_ADDRESS); + outb(leds_state & ~LED_RUN_BITMASK, LED_LATCH_ADDRESS); else outb(leds_state | LED_RUN_BITMASK, LED_LATCH_ADDRESS); } |