projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
drivers: power: report battery voltage in AOSP compatible format
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
arch
/
m68k
/
sun3
/
leds.c
1
#include <asm/contregs.h>
2
#include <asm/sun3mmu.h>
3
#include <asm/io.h>
4
5
void
sun3_leds
(
unsigned char
byte
)
6
{
7
unsigned char
dfc
;
8
9
GET_DFC
(
dfc
);
10
SET_DFC
(
FC_CONTROL
);
11
SET_CONTROL_BYTE
(
AC_LEDS
,
byte
);
12
SET_DFC
(
dfc
);
13
}