]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Drivers/ata/drvApplePIIXATA/AppleATAPIIX.cpp
xnu-201.42.3.tar.gz
[apple/xnu.git] / iokit / Drivers / ata / drvApplePIIXATA / AppleATAPIIX.cpp
index fab734b9cb5e3ff98bbff38ddb3665565082572d..a8a659a8ee07cbe6ecfe97c1cd153ef06eebcec0 100644 (file)
@@ -336,7 +336,7 @@ AppleATAPIIX::configure(IOService * forProvider,
 
 //     IOSleep(1000);
 
-    provider = OSDynamicCast(IOPCIDevice, forProvider);
+       provider = (IOPCIDevice *)forProvider->metaCast("IOPCIDevice");
        if (!provider)
                return false;