X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fasm-i386%2Fide.h;h=e7817a3d6578009f29d750884010933266ca5f3c;hb=1115200a3df64d6925bc94b404039e7082409af4;hp=454440193eacd8913277df03e9593ed3d3169dbb;hpb=4060994c3e337b40e0f6fa8ce2cc178e021baf3d;p=mv-sheeva.git diff --git a/include/asm-i386/ide.h b/include/asm-i386/ide.h index 454440193ea..e7817a3d657 100644 --- a/include/asm-i386/ide.h +++ b/include/asm-i386/ide.h @@ -13,7 +13,6 @@ #ifdef __KERNEL__ -#include #ifndef MAX_HWIFS # ifdef CONFIG_BLK_DEV_IDEPCI @@ -47,7 +46,7 @@ static __inline__ unsigned long ide_default_io_base(int index) * defined compatibility mode ports for PCI. A user can * override this using ide= but we must default safe. */ - if (pci_find_device(PCI_ANY_ID, PCI_ANY_ID, NULL) == NULL) { + if (no_pci_devices()) { switch(index) { case 2: return 0x1e8; case 3: return 0x168;