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 <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87343
Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
This commit is contained in:
Matt DeVillier 2025-04-16 09:19:37 -05:00
commit c731ef0e47

View file

@ -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;