summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/stx104.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/stx104.c')
-rw-r--r--drivers/iio/adc/stx104.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/stx104.c b/drivers/iio/adc/stx104.c
index be2de48..2df84fa5 100644
--- a/drivers/iio/adc/stx104.c
+++ b/drivers/iio/adc/stx104.c
@@ -318,6 +318,7 @@ static int stx104_probe(struct device *dev, unsigned int id)
}
indio_dev->name = dev_name(dev);
+ indio_dev->dev.parent = dev;
priv = iio_priv(indio_dev);
priv->base = base[id];
OpenPOWER on IntegriCloud