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
make irq specifier to be provided when assigining irq
[lunaix-os.git]
/
lunaix-os
/
arch
/
x86
/
hal
/
mc146818a.c
diff --git
a/lunaix-os/arch/x86/hal/mc146818a.c
b/lunaix-os/arch/x86/hal/mc146818a.c
index ec2cd4b34f122a9499d424131bfb29a84db34bfe..fcb5d7f77f293dbe6f1115ee2dfa56b24bf354cc 100644
(file)
--- a/
lunaix-os/arch/x86/hal/mc146818a.c
+++ b/
lunaix-os/arch/x86/hal/mc146818a.c
@@
-19,7
+19,6
@@
#include <klibc/string.h>
#include <klibc/string.h>
-#include <asm/x86_isrm.h>
#include <asm/x86_pmio.h>
#define RTC_INDEX_PORT 0x70
#include <asm/x86_pmio.h>
#define RTC_INDEX_PORT 0x70
@@
-185,10
+184,10
@@
__rtc_calibrate(struct hwrtc_potens* pot)
state = (struct mc146818*)rtc_dev->underlay;
state = (struct mc146818*)rtc_dev->underlay;
- state->irq = irq_declare_line(__rtc_tick, PC_AT_IRQ_RTC
, NULL
);
+ state->irq = irq_declare_line(__rtc_tick, PC_AT_IRQ_RTC);
irq_set_payload(state->irq, state);
irq_set_payload(state->irq, state);
- irq_assign(irq_owning_domain(rtc_dev), state->irq);
+ irq_assign(irq_owning_domain(rtc_dev), state->irq
, NULL
);
return 0;
}
return 0;
}