projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49727e3
)
trm290: small ->init_hwif cleanup
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:49 +0000
(23:22 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:49 +0000
(23:22 +0100)
Core IDE PCI code takes care of assigning hwif->irq for both ports.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/trm290.c
patch
|
blob
|
history
diff --git
a/drivers/ide/trm290.c
b/drivers/ide/trm290.c
index b6a1285a40213e24ff3db78f82a5e89b98c446a4..1c09e549c423ca06765e127ff91f73cab73f4716 100644
(file)
--- a/
drivers/ide/trm290.c
+++ b/
drivers/ide/trm290.c
@@
-277,9
+277,6
@@
static void __devinit init_hwif_trm290(ide_hwif_t *hwif)
if (reg & 0x10)
/* legacy mode */
hwif->irq = hwif->channel ? 15 : 14;
- else if (!hwif->irq && hwif->mate && hwif->mate->irq)
- /* sharing IRQ with mate */
- hwif->irq = hwif->mate->irq;
#if 1
{