X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fide%2Fpci%2Fvia82cxxx.c;fp=drivers%2Fide%2Fpci%2Fvia82cxxx.c;h=5e59f99ffe85e7509f7c516236ebc0f3b8d69f9f;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=9b7589e8e93e52e13316aea9a501e21082100618;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/drivers/ide/pci/via82cxxx.c b/drivers/ide/pci/via82cxxx.c index 9b7589e8e..5e59f99ff 100644 --- a/drivers/ide/pci/via82cxxx.c +++ b/drivers/ide/pci/via82cxxx.c @@ -26,6 +26,7 @@ * the Free Software Foundation. */ +#include #include #include #include @@ -440,7 +441,7 @@ static void __devinit init_hwif_via82cxxx(ide_hwif_t *hwif) #if defined(CONFIG_PPC_CHRP) && defined(CONFIG_PPC32) - if(machine_is(chrp) && _chrp_type == _CHRP_Pegasos) { + if(_machine == _MACH_chrp && _chrp_type == _CHRP_Pegasos) { hwif->irq = hwif->channel ? 15 : 14; } #endif