net: ti/cpsw: Add explicit platform_device.h and of_platform.h includes
authorRob Herring <robh@kernel.org>
Mon, 10 Apr 2023 23:27:19 +0000 (18:27 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Apr 2023 09:54:12 +0000 (10:54 +0100)
commit136f36c74b0345d5d0087d4094894a006470bbd5
tree28a564b5d9a8e22e69d70cc580050cf0aae21988
parenta56ef25619e079bd7d744636cf18d054d1e91982
net: ti/cpsw: Add explicit platform_device.h and of_platform.h includes

TI CPSW uses of_platform_* functions which are declared in of_platform.h.
of_platform.h gets implicitly included by of_device.h, but that is going
to be removed soon. Nothing else depends on of_device.h so it can be
dropped. of_platform.h also implicitly includes platform_device.h, so
add an explicit include for it, too.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c
drivers/net/ethernet/ti/cpsw_new.c