Message ID | 20170907080900.nhjbaaacg4jrxpva@valkosipuli.retiisi.org.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/media/platform/rcar-vin/rcar-core.c b/drivers/media/platform/rcar-vin/rcar-core.c index bd551f0be213..d1e5909da087 100644 --- a/drivers/media/platform/rcar-vin/rcar-core.c +++ b/drivers/media/platform/rcar-vin/rcar-core.c @@ -177,10 +177,10 @@ static int rvin_digital_graph_init(struct rvin_dev *vin) if (ret) return ret; - if (vin->notifier.num_subdevs > 0) + if (vin->digital) vin_dbg(vin, "Found digital subdevice %pOF\n", to_of_node( - vin->notifier.subdevs[0]->match.fwnode.fwnode)); + vin->digital->asd.match.fwnode.fwnode)); vin->notifier.bound = rvin_digital_notify_bound; vin->notifier.unbind = rvin_digital_notify_unbind;