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 155a78e..1b3103f 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 2ae3745..2e64b23 100644 (file)
@@ -3,5 +3,6 @@ config RTL8192E
        depends on PCI && WLAN
        select WIRELESS_EXT
        select WEXT_PRIV
+       select CRYPTO
        default N
        ---help---
index b422ea1..27b89a4 100644 (file)
@@ -4,5 +4,6 @@ config RTL8192SU
        select WIRELESS_EXT
        select WEXT_PRIV
        select EEPROM_93CX6
+       select CRYPTO
        default N
        ---help---
index 0439c90..2896919 100644 (file)
@@ -3,5 +3,6 @@ config RTL8192U
        depends on PCI && WLAN && USB
        select WIRELESS_EXT
        select WEXT_PRIV
+       select CRYPTO
        default N
        ---help---