[PATCH 1/2] net: ks8851_mll: drop platform_device usage
Marco Felsch
m.felsch at pengutronix.de
Mon Jan 30 15:45:00 PST 2023
The pdev member is unused neither do have barebox support for 'struct
platform_device' so remove the usage.
Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
---
drivers/net/ks8851_mll.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/ks8851_mll.c b/drivers/net/ks8851_mll.c
index 7609623ad1..6d74a16ac9 100644
--- a/drivers/net/ks8851_mll.c
+++ b/drivers/net/ks8851_mll.c
@@ -353,7 +353,6 @@
* struct ks_net - KS8851 driver private data
* @hw_addr : start address of data register.
* @hw_addr_cmd : start address of command register.
- * @pdev : Pointer to platform device.
* @bus_width : i/o bus width.
* @extra_byte : number of extra byte prepended rx pkt.
*
@@ -364,7 +363,6 @@ struct ks_net {
struct mii_bus miibus;
void __iomem *hw_addr;
void __iomem *hw_addr_cmd;
- struct platform_device *pdev;
int bus_width;
void *rx_buf;
};
--
2.30.2
More information about the barebox
mailing list