openwrt/target/linux/ramips/files/drivers
Christian Marangi 82afdf6056
ralink: rt3833: fix compilation warning from device_reset in fe_probe
Fix compilation warning from device_reset in fe_probe. On fail print a
warning but don't fail probe.
Fix compilation warning:
drivers/net/ethernet/ralink/mtk_eth_soc.c: In function 'fe_probe':
drivers/net/ethernet/ralink/mtk_eth_soc.c:1564:9: error: ignoring return value of 'device_reset' declared with attribute 'warn_unused_result' [-Werror=unused-result]
 1564 |         device_reset(&pdev->dev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-12 03:15:39 +02:00
..
mmc/host/mtk-mmc ramips: mtk-mcc: move cmd_buf for dbg under ifdef 2023-05-12 03:15:38 +02:00
mtd/nand/raw ramips: skip bbt scan on mt7621 2022-03-25 21:11:09 +01:00
net/ethernet/ralink ralink: rt3833: fix compilation warning from device_reset in fe_probe 2023-05-12 03:15:39 +02:00
pinctrl ramips: aw9523: add can_sleep flag for GPIO chip 2021-12-29 03:43:03 +01:00