net: macb: move pdata to private header
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 30 Sep 2020 10:50:59 +0000 (12:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Sep 2020 21:18:19 +0000 (14:18 -0700)
commit20c168be684a97b084525906eb7ed017b7f9c0b8
tree69d102a2cf3514c8f99f6f4e7113b9357caea64a
parente13dbc4f41db7f7b86f17a2efd7fbe19fc5b6d7a
net: macb: move pdata to private header

struct macb_platform_data is only used by macb_pci to register the platform
device, move its definition to cadence/macb.h and remove platform_data/macb.h

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.h
drivers/net/ethernet/cadence/macb_main.c
drivers/net/ethernet/cadence/macb_pci.c
include/linux/platform_data/macb.h [deleted file]