diff mbox series

wireless: airo: remove ISA_DMA_API dependency

Message ID 20230417205131.1560074-1-arnd@kernel.org
State New
Headers show
Series wireless: airo: remove ISA_DMA_API dependency | expand

Commit Message

Arnd Bergmann April 17, 2023, 8:51 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de>

This driver does not actually use the ISA DMA API, it is purely
PIO based, so remove the dependency.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/net/wireless/cisco/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Horman April 19, 2023, 1:34 p.m. UTC | #1
On Mon, Apr 17, 2023 at 10:51:24PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> This driver does not actually use the ISA DMA API, it is purely
> PIO based, so remove the dependency.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Hi Arnd,

I think that the subject prefix should probably be 'wifi: airo: '.
That nit aside, FWIIW, this looks good to me.

Reviewed-by: Simon Horman <simon.horman@corigine.com>


> ---
>  drivers/net/wireless/cisco/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/wireless/cisco/Kconfig b/drivers/net/wireless/cisco/Kconfig
> index 681bfc2d740a..b40ee25aca99 100644
> --- a/drivers/net/wireless/cisco/Kconfig
> +++ b/drivers/net/wireless/cisco/Kconfig
> @@ -14,7 +14,7 @@ if WLAN_VENDOR_CISCO
>  
>  config AIRO
>  	tristate "Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards"
> -	depends on CFG80211 && ISA_DMA_API && (PCI || BROKEN)
> +	depends on CFG80211 && (PCI || BROKEN)
>  	select WIRELESS_EXT
>  	select CRYPTO
>  	select CRYPTO_SKCIPHER
> -- 
> 2.39.2
>
Kalle Valo April 19, 2023, 2:17 p.m. UTC | #2
Simon Horman <simon.horman@corigine.com> writes:

> On Mon, Apr 17, 2023 at 10:51:24PM +0200, Arnd Bergmann wrote:
>> From: Arnd Bergmann <arnd@arndb.de>
>> 
>> This driver does not actually use the ISA DMA API, it is purely
>> PIO based, so remove the dependency.
>> 
>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>
> Hi Arnd,
>
> I think that the subject prefix should probably be 'wifi: airo: '.
> That nit aside, FWIIW, this looks good to me.

I can fix that during commit.

> Reviewed-by: Simon Horman <simon.horman@corigine.com>

Thanks for the review!
Kalle Valo April 20, 2023, 12:38 p.m. UTC | #3
Arnd Bergmann <arnd@kernel.org> wrote:

> From: Arnd Bergmann <arnd@arndb.de>
> 
> This driver does not actually use the ISA DMA API, it is purely
> PIO based, so remove the dependency.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Reviewed-by: Simon Horman <simon.horman@corigine.com>

Patch applied to wireless-next.git, thanks.

09be55585d27 wifi: airo: remove ISA_DMA_API dependency
diff mbox series

Patch

diff --git a/drivers/net/wireless/cisco/Kconfig b/drivers/net/wireless/cisco/Kconfig
index 681bfc2d740a..b40ee25aca99 100644
--- a/drivers/net/wireless/cisco/Kconfig
+++ b/drivers/net/wireless/cisco/Kconfig
@@ -14,7 +14,7 @@  if WLAN_VENDOR_CISCO
 
 config AIRO
 	tristate "Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards"
-	depends on CFG80211 && ISA_DMA_API && (PCI || BROKEN)
+	depends on CFG80211 && (PCI || BROKEN)
 	select WIRELESS_EXT
 	select CRYPTO
 	select CRYPTO_SKCIPHER