@@ -414,6 +414,11 @@ static int arcpgu_remove(struct platform_device *pdev)
return 0;
}
+static void arcpgu_shutdown(struct platform_device *pdev)
+{
+ drm_atomic_helper_shutdown(platform_get_drvdata(pdev));
+}
+
static const struct of_device_id arcpgu_of_table[] = {
{.compatible = "snps,arcpgu"},
{}
@@ -424,6 +429,7 @@ MODULE_DEVICE_TABLE(of, arcpgu_of_table);
static struct platform_driver arcpgu_platform_driver = {
.probe = arcpgu_probe,
.remove = arcpgu_remove,
+ .shutdown = arcpgu_shutdown,
.driver = {
.name = "arcpgu",
.of_match_table = arcpgu_of_table,