mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
of: Drop unnecessary includes in headers
Drop unnecessary includes in DT headers. Some simply aren't needed and some can be replaced with forward declarations. Link: https://lore.kernel.org/r/20230329-dt-cpu-header-cleanups-v1-5-581e2605fe47@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
@@ -6,12 +6,13 @@
|
||||
* <benh@kernel.crashing.org>
|
||||
*/
|
||||
|
||||
#include <linux/device.h>
|
||||
#include <linux/mod_devicetable.h>
|
||||
#include <linux/pm.h>
|
||||
#include <linux/of_device.h>
|
||||
#include <linux/platform_device.h>
|
||||
|
||||
struct device;
|
||||
struct of_device_id;
|
||||
|
||||
/**
|
||||
* struct of_dev_auxdata - lookup table entry for device names & platform_data
|
||||
* @compatible: compatible value of node to match against node
|
||||
|
||||
Reference in New Issue
Block a user