diff options
Diffstat (limited to 'drivers/aiodev/am335x_adc.c')
-rw-r--r-- | drivers/aiodev/am335x_adc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/aiodev/am335x_adc.c b/drivers/aiodev/am335x_adc.c index 0d6cc426eb..2ac1b7ab94 100644 --- a/drivers/aiodev/am335x_adc.c +++ b/drivers/aiodev/am335x_adc.c @@ -87,7 +87,7 @@ static int am335x_adc_probe(struct device_d *dev) goto fail_data; } - node = of_find_compatible_node(dev->device_node, NULL, "ti,am3359-adc"); + node = of_find_compatible_node(dev->of_node, NULL, "ti,am3359-adc"); if (!node) { ret = -EINVAL; goto fail_data; |