File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
drivers/gpu/drm/renesas/shmobile Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,13 @@ static void shmob_drm_remove(struct platform_device *pdev)
171
171
drm_kms_helper_poll_fini (ddev );
172
172
}
173
173
174
+ static void shmob_drm_shutdown (struct platform_device * pdev )
175
+ {
176
+ struct shmob_drm_device * sdev = platform_get_drvdata (pdev );
177
+
178
+ drm_atomic_helper_shutdown (& sdev -> ddev );
179
+ }
180
+
174
181
static int shmob_drm_probe (struct platform_device * pdev )
175
182
{
176
183
struct shmob_drm_platform_data * pdata = pdev -> dev .platform_data ;
@@ -273,6 +280,7 @@ static const struct of_device_id shmob_drm_of_table[] __maybe_unused = {
273
280
static struct platform_driver shmob_drm_platform_driver = {
274
281
.probe = shmob_drm_probe ,
275
282
.remove_new = shmob_drm_remove ,
283
+ .shutdown = shmob_drm_shutdown ,
276
284
.driver = {
277
285
.name = "shmob-drm" ,
278
286
.of_match_table = of_match_ptr (shmob_drm_of_table ),
You can’t perform that action at this time.
0 commit comments