mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
cosmetic: checkpatch cleanup of board/eNET/*.c
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user