[11/21] linux: Disable some character devices that do not make sense

Message ID 6f473e00-ea4e-a37f-234e-79274b371643@ipfire.org
State Accepted
Commit a5fbbcf4646507698be579c46ff0d1c5f9ba9ad6
Headers
Series linux: Update to 5.15.85 and backport many IPFire 3.x changes |

Commit Message

Peter Müller Dec. 26, 2022, 7:28 p.m. UTC
  Inspired by IPFire 3.x (commit 472fb5fa6b1f77a2166407a8936fda6c8cbdb80b).

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 config/kernel/kernel.config.x86_64-ipfire | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
  

Comments

Michael Tremer Dec. 27, 2022, 11:24 a.m. UTC | #1
Acked-by: Michael Tremer <michael.tremer@ipfire.org>

> On 26 Dec 2022, at 20:28, Peter Müller <peter.mueller@ipfire.org> wrote:
> 
> Inspired by IPFire 3.x (commit 472fb5fa6b1f77a2166407a8936fda6c8cbdb80b).
> 
> Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
> ---
> config/kernel/kernel.config.x86_64-ipfire | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel.config.x86_64-ipfire
> index 1ad577a03..0b762970b 100644
> --- a/config/kernel/kernel.config.x86_64-ipfire
> +++ b/config/kernel/kernel.config.x86_64-ipfire
> @@ -1962,7 +1962,6 @@ CONFIG_NVME_TARGET_TCP=m
> #
> # Misc devices
> #
> -CONFIG_SENSORS_LIS3LV02D=m
> # CONFIG_AD525X_DPOT is not set
> CONFIG_DUMMY_IRQ=m
> CONFIG_IBM_ASM=m
> @@ -3280,8 +3279,8 @@ CONFIG_INPUT_RETU_PWRBUTTON=m
> # CONFIG_INPUT_AXP20X_PEK is not set
> CONFIG_INPUT_UINPUT=m
> # CONFIG_INPUT_PCF8574 is not set
> -CONFIG_INPUT_GPIO_ROTARY_ENCODER=m
> -CONFIG_INPUT_DA7280_HAPTICS=m
> +# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
> +# CONFIG_INPUT_DA7280_HAPTICS is not set
> # CONFIG_INPUT_DA9063_ONKEY is not set
> # CONFIG_INPUT_ADXL34X is not set
> # CONFIG_INPUT_IMS_PCU is not set
> @@ -6290,7 +6289,7 @@ CONFIG_AMILO_RFKILL=m
> CONFIG_FUJITSU_LAPTOP=m
> # CONFIG_FUJITSU_TABLET is not set
> # CONFIG_GPD_POCKET_FAN is not set
> -CONFIG_HP_ACCEL=m
> +# CONFIG_HP_ACCEL is not set
> # CONFIG_WIRELESS_HOTKEY is not set
> CONFIG_HP_WMI=m
> # CONFIG_IBM_RTL is not set
> -- 
> 2.35.3
  

Patch

diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel.config.x86_64-ipfire
index 1ad577a03..0b762970b 100644
--- a/config/kernel/kernel.config.x86_64-ipfire
+++ b/config/kernel/kernel.config.x86_64-ipfire
@@ -1962,7 +1962,6 @@  CONFIG_NVME_TARGET_TCP=m
 #
 # Misc devices
 #
-CONFIG_SENSORS_LIS3LV02D=m
 # CONFIG_AD525X_DPOT is not set
 CONFIG_DUMMY_IRQ=m
 CONFIG_IBM_ASM=m
@@ -3280,8 +3279,8 @@  CONFIG_INPUT_RETU_PWRBUTTON=m
 # CONFIG_INPUT_AXP20X_PEK is not set
 CONFIG_INPUT_UINPUT=m
 # CONFIG_INPUT_PCF8574 is not set
-CONFIG_INPUT_GPIO_ROTARY_ENCODER=m
-CONFIG_INPUT_DA7280_HAPTICS=m
+# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
+# CONFIG_INPUT_DA7280_HAPTICS is not set
 # CONFIG_INPUT_DA9063_ONKEY is not set
 # CONFIG_INPUT_ADXL34X is not set
 # CONFIG_INPUT_IMS_PCU is not set
@@ -6290,7 +6289,7 @@  CONFIG_AMILO_RFKILL=m
 CONFIG_FUJITSU_LAPTOP=m
 # CONFIG_FUJITSU_TABLET is not set
 # CONFIG_GPD_POCKET_FAN is not set
-CONFIG_HP_ACCEL=m
+# CONFIG_HP_ACCEL is not set
 # CONFIG_WIRELESS_HOTKEY is not set
 CONFIG_HP_WMI=m
 # CONFIG_IBM_RTL is not set