diff options
Diffstat (limited to 'drivers/ide/ide_platform.c')
-rw-r--r-- | drivers/ide/ide_platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide_platform.c b/drivers/ide/ide_platform.c index ee9b55ecc62b..b579fbe88370 100644 --- a/drivers/ide/ide_platform.c +++ b/drivers/ide/ide_platform.c | |||
@@ -112,7 +112,7 @@ out: | |||
112 | 112 | ||
113 | static int __devexit plat_ide_remove(struct platform_device *pdev) | 113 | static int __devexit plat_ide_remove(struct platform_device *pdev) |
114 | { | 114 | { |
115 | struct ide_host *host = pdev->dev.driver_data; | 115 | struct ide_host *host = dev_get_drvdata(&pdev->dev); |
116 | 116 | ||
117 | ide_host_remove(host); | 117 | ide_host_remove(host); |
118 | 118 | ||