Staging: rtl81xx: Fix build problems when CONFIG_CRYPTO=n
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Fri, 28 May 2010 11:59:52 +0000 (13:59 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Jun 2010 23:41:50 +0000 (16:41 -0700)
Select CONFIG_CRYPTO for all rtl81xx wireless drivers

... to avoid build problems like:

ERROR: "crypto_destroy_tfm" [drivers/staging/rtl8187se/r8187se.ko] undefined!
ERROR: "crypto_alloc_base" [drivers/staging/rtl8187se/r8187se.ko] undefined!
ERROR: "crypto_destroy_tfm" [drivers/staging/rtl8192u/r8192u_usb.ko] undefined!
ERROR: "crypto_alloc_base" [drivers/staging/rtl8192u/r8192u_usb.ko] undefined!
ERROR: "crypto_destroy_tfm" [drivers/staging/rtl8192su/r8192s_usb.ko] undefined!
ERROR: "crypto_alloc_base" [drivers/staging/rtl8192su/r8192s_usb.ko] undefined!
ERROR: "crypto_destroy_tfm" [drivers/staging/rtl8192e/r8192e_pci.ko] undefined!
ERROR: "crypto_alloc_base" [drivers/staging/rtl8192e/r8192e_pci.ko] undefined!

when drivers are built as modules but CONFIG_CRYPTO=n.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8187se/Kconfig
drivers/staging/rtl8192e/Kconfig
drivers/staging/rtl8192su/Kconfig
drivers/staging/rtl8192u/Kconfig

index 155a78e07405dd1b6a5ff67981191d4a2c31849f..1b3103fbf29c4c8fce6b7ab6ee80090afc322de6 100644 (file)
@@ -4,6 +4,7 @@ config R8187SE
        select WIRELESS_EXT
        select WEXT_PRIV
        select EEPROM_93CX6
+       select CRYPTO
        default N
        ---help---
          If built as a module, it will be called r8187se.ko.
index 2ae3745f775f6f1fa8af6d2befcc66f0be3ecbc1..2e64b239e24197c26dd16ba9eb4bb1e44cb7a008 100644 (file)
@@ -3,5 +3,6 @@ config RTL8192E
        depends on PCI && WLAN
        select WIRELESS_EXT
        select WEXT_PRIV
+       select CRYPTO
        default N
        ---help---
index b422ea1ecf9cf08e310feb79bb4462a91230a8f3..27b89a432670a135190769d896731d58400d5de9 100644 (file)
@@ -4,5 +4,6 @@ config RTL8192SU
        select WIRELESS_EXT
        select WEXT_PRIV
        select EEPROM_93CX6
+       select CRYPTO
        default N
        ---help---
index 0439c90b416346efefc20ec58d2c260036a85b2a..28969198e7e2c22c5ad6c963cced4c69cfb1b23d 100644 (file)
@@ -3,5 +3,6 @@ config RTL8192U
        depends on PCI && WLAN && USB
        select WIRELESS_EXT
        select WEXT_PRIV
+       select CRYPTO
        default N
        ---help---