git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: standard vga support (mode switching, framebuffer remapping)
[lunaix-os.git]
/
lunaix-os
/
hal
/
rtc
/
mc146818a.c
diff --git
a/lunaix-os/hal/rtc/mc146818a.c
b/lunaix-os/hal/rtc/mc146818a.c
index dce0a5179ad8386212d9552d1f417259c50a5a2e..6b645279e9331def4ba43877f3318caeb83331ce 100644
(file)
--- a/
lunaix-os/hal/rtc/mc146818a.c
+++ b/
lunaix-os/hal/rtc/mc146818a.c
@@
-217,7
+217,7
@@
rtc_init(struct device_def* devdef)
static struct device_def devrtc_mc146818 = {
.name = "MC146818 RTC",
static struct device_def devrtc_mc146818 = {
.name = "MC146818 RTC",
- .class = DEVCLASS(DEVIF_SOC, DEVFN_TIME, DEV_RTC
, 1
),
+ .class = DEVCLASS(DEVIF_SOC, DEVFN_TIME, DEV_RTC),
.init = rtc_init
};
EXPORT_DEVICE(mc146818, &devrtc_mc146818, load_earlystage);
\ No newline at end of file
.init = rtc_init
};
EXPORT_DEVICE(mc146818, &devrtc_mc146818, load_earlystage);
\ No newline at end of file