|
@@ -448,6 +448,11 @@ static int rockchip_drm_platform_remove(struct platform_device *pdev)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
+static void rockchip_drm_platform_shutdown(struct platform_device *pdev)
|
|
|
+{
|
|
|
+ rockchip_drm_platform_remove(pdev);
|
|
|
+}
|
|
|
+
|
|
|
static const struct of_device_id rockchip_drm_dt_ids[] = {
|
|
|
{ .compatible = "rockchip,display-subsystem", },
|
|
|
{ /* sentinel */ },
|
|
@@ -457,6 +462,7 @@ MODULE_DEVICE_TABLE(of, rockchip_drm_dt_ids);
|
|
|
static struct platform_driver rockchip_drm_platform_driver = {
|
|
|
.probe = rockchip_drm_platform_probe,
|
|
|
.remove = rockchip_drm_platform_remove,
|
|
|
+ .shutdown = rockchip_drm_platform_shutdown,
|
|
|
.driver = {
|
|
|
.name = "rockchip-drm",
|
|
|
.of_match_table = rockchip_drm_dt_ids,
|