diff options
Diffstat (limited to 'drivers/ide/pci/pdc202xx_new.c')
-rw-r--r-- | drivers/ide/pci/pdc202xx_new.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/pdc202xx_new.c b/drivers/ide/pci/pdc202xx_new.c index 2da5cbb53566..2cdd629c653d 100644 --- a/drivers/ide/pci/pdc202xx_new.c +++ b/drivers/ide/pci/pdc202xx_new.c | |||
@@ -395,7 +395,7 @@ static void __devinit apple_kiwi_init(struct pci_dev *pdev) | |||
395 | unsigned int class_rev = 0; | 395 | unsigned int class_rev = 0; |
396 | u8 conf; | 396 | u8 conf; |
397 | 397 | ||
398 | if (np == NULL || !device_is_compatible(np, "kiwi-root")) | 398 | if (np == NULL || !of_device_is_compatible(np, "kiwi-root")) |
399 | return; | 399 | return; |
400 | 400 | ||
401 | pci_read_config_dword(pdev, PCI_CLASS_REVISION, &class_rev); | 401 | pci_read_config_dword(pdev, PCI_CLASS_REVISION, &class_rev); |