[2.6 patch] show "SN Devices" menu only if CONFIG_SGI_SN

From: Adrian Bunk
Date: Fri Feb 17 2006 - 08:21:00 EST


On architectures like i386, the "Multimedia Capabilities Port drivers"
menu is visible, but it can't be visited since it contains nothing
usable for CONFIG_SGI_SN=n.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.16-rc3-mm1-full/drivers/sn/Kconfig.old 2006-02-17 14:07:11.000000000 +0100
+++ linux-2.6.16-rc3-mm1-full/drivers/sn/Kconfig 2006-02-17 14:07:37.000000000 +0100
@@ -3,6 +3,7 @@
#

menu "SN Devices"
+ depends on SGI_SN

config SGI_IOC4
tristate "SGI IOC4 Base IO support"

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