mirror of
https://github.com/armbian/build.git
synced 2025-08-09 20:56:57 +02:00
* 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
69 lines
1.7 KiB
Diff
69 lines
1.7 KiB
Diff
From bc201ae4c1a343ff5efc67fc689b02b7180c946f Mon Sep 17 00:00:00 2001
|
|
From: The-going <48602507+The-going@users.noreply.github.com>
|
|
Date: Thu, 3 Feb 2022 21:22:16 +0300
|
|
Subject: [PATCH] Fix compile error node not found
|
|
|
|
Error: arch/arm64/boot/dts/allwinner/sun50i-h616-x96-mate.dts:47.1-4 Label or path de not found
|
|
Error: arch/arm64/boot/dts/allwinner/sun50i-h616-x96-mate.dts:70.1-6 Label or path hdmi not found
|
|
Error: arch/arm64/boot/dts/allwinner/sun50i-h616-x96-mate.dts:75.1-10 Label or path hdmi_out not found
|
|
FATAL ERROR: Syntax error parsing input tree
|
|
make[2]: *** [scripts/Makefile.lib:365: arch/arm64/boot/dts/allwinner/sun50i-h616-x96-mate.dtb] Error 1
|
|
---
|
|
.../dts/allwinner/sun50i-h616-x96-mate.dts | 26 -------------------
|
|
1 file changed, 26 deletions(-)
|
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616-x96-mate.dts b/arch/arm64/boot/dts/allwinner/sun50i-h616-x96-mate.dts
|
|
index 3640160a3..51f1764ed 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h616-x96-mate.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h616-x96-mate.dts
|
|
@@ -23,17 +23,6 @@ chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
- connector {
|
|
- compatible = "hdmi-connector";
|
|
- type = "a";
|
|
-
|
|
- port {
|
|
- hdmi_con_in: endpoint {
|
|
- remote-endpoint = <&hdmi_out_con>;
|
|
- };
|
|
- };
|
|
- };
|
|
-
|
|
reg_vcc5v: vcc5v {
|
|
/* board wide 5V supply directly from the DC input */
|
|
compatible = "regulator-fixed";
|
|
@@ -44,10 +33,6 @@ reg_vcc5v: vcc5v {
|
|
};
|
|
};
|
|
|
|
-&de {
|
|
- status = "okay";
|
|
-};
|
|
-
|
|
&ehci0 {
|
|
status = "okay";
|
|
};
|
|
@@ -67,17 +52,6 @@ &emac1 {
|
|
status = "okay";
|
|
};
|
|
|
|
-&hdmi {
|
|
- hvcc-supply = <®_bldo1>;
|
|
- status = "okay";
|
|
-};
|
|
-
|
|
-&hdmi_out {
|
|
- hdmi_out_con: endpoint {
|
|
- remote-endpoint = <&hdmi_con_in>;
|
|
- };
|
|
-};
|
|
-
|
|
&ir {
|
|
status = "okay";
|
|
};
|
|
--
|
|
2.34.1
|
|
|