sound: oxygen: work around MCE when changing volume
[pandora-kernel.git] / drivers / ide / ide_platform.c
index ee9b55e..b579fbe 100644 (file)
@@ -112,7 +112,7 @@ out:
 
 static int __devexit plat_ide_remove(struct platform_device *pdev)
 {
-       struct ide_host *host = pdev->dev.driver_data;
+       struct ide_host *host = dev_get_drvdata(&pdev->dev);
 
        ide_host_remove(host);