X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fide.h;h=fd7f5a430f0afdc91e934b0ebf54102e7559efcc;hb=7ac5dde99eb9fefdb526973c600075b7c5703a86;hp=1644e44c8757667e575ec03268d02323b62e4145;hpb=c4ec20717313daafba59225f812db89595952b83;p=linux-2.6 diff --git a/include/asm-powerpc/ide.h b/include/asm-powerpc/ide.h index 1644e44c87..fd7f5a430f 100644 --- a/include/asm-powerpc/ide.h +++ b/include/asm-powerpc/ide.h @@ -69,12 +69,11 @@ static __inline__ unsigned long ide_default_io_base(int index) #ifdef CONFIG_BLK_DEV_MPC8xx_IDE #define IDE_ARCH_ACK_INTR 1 -#define ide_ack_intr(hwif) (hwif->hw.ack_intr ? hwif->hw.ack_intr(hwif) : 1) +#define ide_ack_intr(hwif) ((hwif)->ack_intr ? (hwif)->ack_intr(hwif) : 1) #endif #endif /* __powerpc64__ */ -#define IDE_ARCH_OBSOLETE_INIT #define ide_default_io_ctl(base) ((base) + 0x206) /* obsolete */ #endif /* __KERNEL__ */