summaryrefslogtreecommitdiff
path: root/drivers/ata/intf_platform_ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/intf_platform_ide.c')
-rw-r--r--drivers/ata/intf_platform_ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/intf_platform_ide.c b/drivers/ata/intf_platform_ide.c
index 96ea3717b6..b8711d0de3 100644
--- a/drivers/ata/intf_platform_ide.c
+++ b/drivers/ata/intf_platform_ide.c
@@ -74,7 +74,7 @@ static int platform_ide_probe(struct device_d *dev)
void *reg_base, *alt_base = NULL;
struct resource *reg, *alt;
int mmio = 0;
- struct device_node *dn = dev->device_node;
+ struct device_node *dn = dev->of_node;
u32 ioport_shift = 0;
int dataif_be = 0;
void (*reset)(int) = NULL;