Skip to content

Commit

Permalink
[RTC]: Use SA_SHIRQ in sparc specific code.
Browse files Browse the repository at this point in the history
Based upon a report from Jason Wever.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Sep 6, 2005
1 parent 1d25240 commit 53d0fc2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/char/rtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -938,10 +938,9 @@ static int __init rtc_init(void)

/*
* XXX Interrupt pin #7 in Espresso is shared between RTC and
* PCI Slot 2 INTA# (and some INTx# in Slot 1). SA_INTERRUPT here
* is asking for trouble with add-on boards. Change to SA_SHIRQ.
* PCI Slot 2 INTA# (and some INTx# in Slot 1).
*/
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
* __irq_itoa(). I think for EBus it's ok to use %d.
Expand Down

0 comments on commit 53d0fc2

Please sign in to comment.