mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2026-01-09 20:53:43 +00:00
Handle error from device reset in SPI ralink driver fixing compilation
warning:
drivers/spi/spi-rt2880.c: In function 'rt2880_spi_probe':
drivers/spi/spi-rt2880.c:474:17: error: ignoring return value of 'device_reset' declared with attribute 'warn_unused_result' [-Werror=unused-result]
474 | device_reset(&pdev->dev);
| ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
||
|---|---|---|
| .. | ||
| base-files/etc | ||
| dts | ||
| files/drivers | ||
| image | ||
| mt76x8 | ||
| mt7620 | ||
| mt7621 | ||
| patches-5.10 | ||
| patches-5.15 | ||
| rt288x | ||
| rt305x | ||
| rt3883 | ||
| Makefile | ||
| modules.mk | ||