Skip to content

Commit 426f6e7

Browse files
robherringlynxeye-dev
authored andcommitted
drm: etnaviv: Replace of_platform.h with explicit includes
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 <robh@kernel.org> Tested-by: Sui Jingfeng <suijingfeng@loongson.cn> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
1 parent ac9a786 commit 426f6e7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/gpu/drm/etnaviv/etnaviv_drv.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
#include <linux/component.h>
77
#include <linux/dma-mapping.h>
88
#include <linux/module.h>
9-
#include <linux/of_platform.h>
9+
#include <linux/of.h>
10+
#include <linux/of_device.h>
11+
#include <linux/platform_device.h>
1012
#include <linux/uaccess.h>
1113

1214
#include <drm/drm_debugfs.h>

0 commit comments

Comments
 (0)