*/
int rcar_fcp_enable(struct rcar_fcp_device *fcp)
{
+ int ret;
+
if (!fcp)
return 0;
- return pm_runtime_get_sync(fcp->dev);
+ ret = pm_runtime_get_sync(fcp->dev);
+ if (ret < 0)
+ return ret;
+
+ return 0;
}
EXPORT_SYMBOL_GPL(rcar_fcp_enable);
}
static const struct of_device_id rcar_fcp_of_match[] = {
+ { .compatible = "renesas,fcpf" },
{ .compatible = "renesas,fcpv" },
{ },
};