drm/etnaviv: Replace of_platform.h with explicit includes
Subsystems (2)
PATCH v10 11/11 drm/etnaviv: Replace of_platform.h with explicit includes
From: Rob Herring <[email protected]>
Etnaviv doesn't use anything from of_platform.h, but depends on of.h, of_device.h, and platform_device.h which are all implicitly included, but that is going to be removed soon.
Signed-off-by Rob Herring <[email protected]>
Reviewed-by Sui Jingfeng <[email protected]>
Tested-by Sui Jingfeng <[email protected]>
--- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/etnaviv/etnaviv_drv.c +3 -1
@@ -7,8 +7,10 @@#include <linux/dma-mapping.h> #include <linux/dma-map-ops.h> #include <linux/module.h> +#include <linux/of.h> #include <linux/of_address.h> -#include <linux/of_platform.h> +#include <linux/of_device.h> +#include <linux/platform_device.h> #include <linux/uaccess.h> #include <drm/drm_debugfs.h>
Signature · 1 line
2.25.1