aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/pdc202xx_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/pdc202xx_new.c')
-rw-r--r--drivers/ide/pci/pdc202xx_new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/pdc202xx_new.c b/drivers/ide/pci/pdc202xx_new.c
index ace98929cc3d..ae20fb3f6cbc 100644
--- a/drivers/ide/pci/pdc202xx_new.c
+++ b/drivers/ide/pci/pdc202xx_new.c
@@ -398,7 +398,7 @@ static void __devinit apple_kiwi_init(struct pci_dev *pdev)
398 unsigned int class_rev = 0; 398 unsigned int class_rev = 0;
399 u8 conf; 399 u8 conf;
400 400
401 if (np == NULL || !device_is_compatible(np, "kiwi-root")) 401 if (np == NULL || !of_device_is_compatible(np, "kiwi-root"))
402 return; 402 return;
403 403
404 pci_read_config_dword(pdev, PCI_CLASS_REVISION, &class_rev); 404 pci_read_config_dword(pdev, PCI_CLASS_REVISION, &class_rev);