diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2005-09-06 02:33:05 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-09-06 02:33:05 -0400 |
commit | 53d0fc27af3a3ab22c0ffb67857adfa18977e681 (patch) | |
tree | 22686ede46dd7f3207d09a65cbc88da14032b9d8 | |
parent | 1d25240fcfce0e55540a273b1e1b07d304065a31 (diff) |
[RTC]: Use SA_SHIRQ in sparc specific code.
Based upon a report from Jason Wever.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/char/rtc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/char/rtc.c b/drivers/char/rtc.c index cd4fe8b1709f..63fff7c1244a 100644 --- a/drivers/char/rtc.c +++ b/drivers/char/rtc.c | |||
@@ -938,10 +938,9 @@ found: | |||
938 | 938 | ||
939 | /* | 939 | /* |
940 | * XXX Interrupt pin #7 in Espresso is shared between RTC and | 940 | * XXX Interrupt pin #7 in Espresso is shared between RTC and |
941 | * PCI Slot 2 INTA# (and some INTx# in Slot 1). SA_INTERRUPT here | 941 | * PCI Slot 2 INTA# (and some INTx# in Slot 1). |
942 | * is asking for trouble with add-on boards. Change to SA_SHIRQ. | ||
943 | */ | 942 | */ |
944 | if (request_irq(rtc_irq, rtc_interrupt, SA_INTERRUPT, "rtc", (void *)&rtc_port)) { | 943 | if (request_irq(rtc_irq, rtc_interrupt, SA_SHIRQ, "rtc", (void *)&rtc_port)) { |
945 | /* | 944 | /* |
946 | * Standard way for sparc to print irq's is to use | 945 | * Standard way for sparc to print irq's is to use |
947 | * __irq_itoa(). I think for EBus it's ok to use %d. | 946 | * __irq_itoa(). I think for EBus it's ok to use %d. |