From c731ef0e478de1e69ce76fc6d4b7023334fde95a Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Wed, 16 Apr 2025 09:19:37 -0500 Subject: [PATCH] drv/wifi/generic: Drop guard for cnvi_gpio_enable register Guarding the existence of this register isn't necessary since we guard its usage as well, and it complicates some subsequent changes, so drop it. Change-Id: I557c400e6dffeb9dc5b4b67a6cc6f15ba0ef27d0 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/87343 Reviewed-by: Maxim Polyakov Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/drivers/wifi/generic/chip.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/drivers/wifi/generic/chip.h b/src/drivers/wifi/generic/chip.h index f6a68e2068..e53459a864 100644 --- a/src/drivers/wifi/generic/chip.h +++ b/src/drivers/wifi/generic/chip.h @@ -22,13 +22,11 @@ struct drivers_wifi_generic_config { */ bool enable_cnvi_ddr_rfim; -#if CONFIG(SOC_INTEL_COMMON_BLOCK_CNVI) /* * Enable GPIO for CNVi that will be used for WiFi SW RF Kill (Low * Power Mode). */ struct acpi_gpio cnvi_enable_gpio; -#endif /* Pointer to the Bluetooth companion device */ DEVTREE_CONST struct device *bluetooth_companion;