hdmi_authenticated);
}
-void hdmitx_extcon_register(struct platform_device *pdev)
+void hdmitx_extcon_register(struct platform_device *pdev, struct device *dev)
{
struct extcon_dev *edev;
int ret;
hdmi_print(IMP, SYS "failed to allocate hdmitx extcon hdmi\n");
return;
}
+ edev->dev.parent = dev;
edev->name = "hdmitx_extcon_hdmi";
dev_set_name(&edev->dev, "hdmi");
ret = extcon_dev_register(edev);
return;
}
+ edev->dev.parent = dev;
edev->name = "hdmitx_excton_audio";
dev_set_name(&edev->dev, "hdmi_audio");
ret = extcon_dev_register(edev);
return;
}
+ edev->dev.parent = dev;
edev->name = "hdmitx_excton_power";
dev_set_name(&edev->dev, "hdmi_power");
ret = extcon_dev_register(edev);
return;
}
+ edev->dev.parent = dev;
edev->name = "hdmitx_excton_hdr";
dev_set_name(&edev->dev, "hdmi_hdr");
ret = extcon_dev_register(edev);
return;
}
+ edev->dev.parent = dev;
edev->name = "hdmitx_excton_rxsense";
dev_set_name(&edev->dev, "hdmi_rxsense");
ret = extcon_dev_register(edev);
return;
}
+ edev->dev.parent = dev;
edev->name = "hdmitx_excton_hdcp";
dev_set_name(&edev->dev, "hdcp");
ret = extcon_dev_register(edev);
}
pr_info("hdmitx hpd irq = %d\n", hdmitx_device.irq_hpd);
- hdmitx_extcon_register(pdev);
+ hdmitx_extcon_register(pdev, dev);
hdmitx_init_parameters(&hdmitx_device.hdmi_info);
HDMITX_Meson_Init(&hdmitx_device);