alistair23-linux/arch/m68k/sun3/leds.c
Andrea Gelmini 2b9e12d017 arch/m68k/sun3/leds.c: Checkpatch cleanup
arch/m68k/sun3/leds.c:10: ERROR: code indent should use tabs where possible
arch/m68k/sun3/leds.c:11: ERROR: space required after that ',' (ctx:VxV)

Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2010-08-09 21:14:07 +02:00

14 lines
218 B
C

#include <asm/contregs.h>
#include <asm/sun3mmu.h>
#include <asm/io.h>
void sun3_leds(unsigned char byte)
{
unsigned char dfc;
GET_DFC(dfc);
SET_DFC(FC_CONTROL);
SET_CONTROL_BYTE(AC_LEDS, byte);
SET_DFC(dfc);
}