* sunxi-5.18 Initial state for armbian patches
* Adapting patches to the new kernel, sort, add new megous patches
* DEBUG
* Add the latest patches
* fix: compile error
drivers/spi/spi.c:3548:3: note: in expansion of macro ‘dev_info’
dev_info(&spi->dev, "spi_setup / gpio_is_valid(%d) ... doing gpio_request ...\n", spi->cs_gpio);
^~~~~~~~
drivers/spi/spi.c:3549:9: error:
implicit declaration of function ‘gpio_request’;
did you mean ‘gpio_to_desc’? [-Werror=implicit-function-declaration]
ret = gpio_request(spi->cs_gpio, dev_name(&spi->dev));
^~~~~~~~~~~~
gpio_to_desc
drivers/spi/spi.c:3549:27: error:
‘struct spi_device’ has no member named ‘cs_gpio’;
did you mean ‘cs_gpiod’?
ret = gpio_request(spi->cs_gpio, dev_name(&spi->dev));
^~~~~~~
cs_gpiod
drivers/spi/spi.c:3554:4: error:
implicit declaration of function ‘gpio_direction_output’;
did you mean ‘gpiod_direction_output’? [-Werror=implicit-function-declaration]
gpio_direction_output(spi->cs_gpio,
^~~~~~~~~~~~~~~~~~~~~
gpiod_direction_output
drivers/spi/spi.c:3554:31: error:
‘struct spi_device’ has no member named ‘cs_gpio’;
did you mean ‘cs_gpiod’?
gpio_direction_output(spi->cs_gpio,
^~~~~~~
cs_gpiod
In file included from ./include/linux/device.h:15,
from drivers/spi/spi.c:8:
drivers/spi/spi.c:3556:79: error:
‘struct spi_device’ has no member named ‘cs_gpio’;
did you mean ‘cs_gpiod’?
* Remove pre-applied patches
14 lines
587 B
Diff
14 lines
587 B
Diff
diff --git a/drivers/net/wireless/rtl8189fs/Makefile b/drivers/net/wireless/rtl8189fs/Makefile
|
|
index dfca305..d56dcfd 100644
|
|
--- a/drivers/net/wireless/rtl8189fs/Makefile
|
|
+++ b/drivers/net/wireless/rtl8189fs/Makefile
|
|
@@ -88,7 +88,7 @@ CONFIG_RTW_WIFI_HAL = n
|
|
CONFIG_ICMP_VOQ = n
|
|
CONFIG_IP_R_MONITOR = n #arp VOQ and high rate
|
|
########################## Debug ###########################
|
|
-CONFIG_RTW_DEBUG = y
|
|
+CONFIG_RTW_DEBUG = n
|
|
# default log level is _DRV_INFO_ = 4,
|
|
# please refer to "How_to_set_driver_debug_log_level.doc" to set the available level.
|
|
CONFIG_RTW_LOG_LEVEL = 4
|