diff options
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_vec.c')
| -rw-r--r-- | drivers/gpu/drm/vc4/vc4_vec.c | 9 | 
1 files changed, 4 insertions, 5 deletions
| diff --git a/drivers/gpu/drm/vc4/vc4_vec.c b/drivers/gpu/drm/vc4/vc4_vec.c index d6e6a1a22eba..268f18b10ee0 100644 --- a/drivers/gpu/drm/vc4/vc4_vec.c +++ b/drivers/gpu/drm/vc4/vc4_vec.c @@ -21,8 +21,8 @@  #include <drm/drm_simple_kms_helper.h>  #include <linux/clk.h>  #include <linux/component.h> -#include <linux/of_graph.h> -#include <linux/of_platform.h> +#include <linux/of.h> +#include <linux/platform_device.h>  #include <linux/pm_runtime.h>  #include "vc4_drv.h" @@ -812,15 +812,14 @@ static int vc4_vec_dev_probe(struct platform_device *pdev)  	return component_add(&pdev->dev, &vc4_vec_ops);  } -static int vc4_vec_dev_remove(struct platform_device *pdev) +static void vc4_vec_dev_remove(struct platform_device *pdev)  {  	component_del(&pdev->dev, &vc4_vec_ops); -	return 0;  }  struct platform_driver vc4_vec_driver = {  	.probe = vc4_vec_dev_probe, -	.remove = vc4_vec_dev_remove, +	.remove_new = vc4_vec_dev_remove,  	.driver = {  		.name = "vc4_vec",  		.of_match_table = vc4_vec_dt_match, | 
