[PATCH 4/5] fixup! net: eqos: Rockchip support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Network adapter needs to be halted on shutdown, thus define a remove
callback that triggers the halt.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 drivers/net/designware_rockchip.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/designware_rockchip.c b/drivers/net/designware_rockchip.c
index 09b53e2cc08d..fb37243f6993 100644
--- a/drivers/net/designware_rockchip.c
+++ b/drivers/net/designware_rockchip.c
@@ -343,6 +343,7 @@ static __maybe_unused struct of_device_id dwc_ether_compatible[] = {
 static struct driver_d dwc_ether_driver = {
 	.name = "designware_eqos",
 	.probe = dwc_ether_probe,
+	.remove = eqos_remove,
 	.of_compatible = DRV_OF_COMPAT(dwc_ether_compatible),
 };
 device_platform_driver(dwc_ether_driver);
-- 
2.29.2


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux