The new Kconfig option to build "staging" drivers (code in drivers/staging/) is seen in all except three architectures (arm, h8300, cris), because in these cases arch/$ARCH/Kconfig does NOT source drivers/Kconfig.

This patch adds the source "drivers/staging/Kconfig" to arch/$ARCH/Kconfig for these three exceptional cases.

Signed-off-by: Duncan Haldane

diff -uprN a/arch/arm/Kconfig b/arch/arm/Kconfig
--- a/arch/arm/Kconfig 2008-11-02 17:17:19.000000000 -0500
+++ b/arch/arm/Kconfig 2008-11-07 17:54:30.000000000 -0500
@@ -1276,6 +1276,8 @@ source "drivers/regulator/Kconfig"

source "drivers/uio/Kconfig"

+source "drivers/staging/Kconfig"
+
endmenu

source "fs/Kconfig"
diff -uprN a/arch/cris/Kconfig b/arch/cris/Kconfig
--- a/arch/cris/Kconfig 2008-11-02 17:17:19.000000000 -0500
+++ b/arch/cris/Kconfig 2008-11-07 17:54:30.000000000 -0500
@@ -681,6 +681,8 @@ source "drivers/usb/Kconfig"

source "drivers/uwb/Kconfig"

+source "drivers/staging/Kconfig"
+
source "arch/cris/Kconfig.debug"

source "security/Kconfig"
diff -uprN a/arch/h8300/Kconfig b/arch/h8300/Kconfig
--- a/arch/h8300/Kconfig 2008-11-02 17:17:19.000000000 -0500
+++ b/arch/h8300/Kconfig 2008-11-07 17:54:30.000000000 -0500
@@ -220,6 +220,8 @@ source "drivers/uwb/Kconfig"

endmenu

+source "drivers/staging/Kconfig"
+
source "fs/Kconfig"

source "arch/h8300/Kconfig.debug"
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/