Commit 53d0fc27 authored by David S. Miller's avatar David S. Miller

[RTC]: Use SA_SHIRQ in sparc specific code.

Based upon a report from Jason Wever.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1d25240f
...@@ -938,10 +938,9 @@ static int __init rtc_init(void) ...@@ -938,10 +938,9 @@ static int __init rtc_init(void)
/* /*
* XXX Interrupt pin #7 in Espresso is shared between RTC and * XXX Interrupt pin #7 in Espresso is shared between RTC and
* PCI Slot 2 INTA# (and some INTx# in Slot 1). SA_INTERRUPT here * PCI Slot 2 INTA# (and some INTx# in Slot 1).
* is asking for trouble with add-on boards. Change to SA_SHIRQ.
*/ */
if (request_irq(rtc_irq, rtc_interrupt, SA_INTERRUPT, "rtc", (void *)&rtc_port)) { if (request_irq(rtc_irq, rtc_interrupt, SA_SHIRQ, "rtc", (void *)&rtc_port)) {
/* /*
* Standard way for sparc to print irq's is to use * Standard way for sparc to print irq's is to use
* __irq_itoa(). I think for EBus it's ok to use %d. * __irq_itoa(). I think for EBus it's ok to use %d.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment