public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: use menuconfig for quicker config editing
@ 2010-05-07 22:05 Randy Dunlap
  2010-05-10 23:09 ` Samuel Ortiz
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2010-05-07 22:05 UTC (permalink / raw)
  To: lkml; +Cc: akpm, Samuel Ortiz

From: Randy Dunlap <randy.dunlap@oracle.com>

Change MFD 'menu' to 'menuconfig' to facilitate easy (one-click)
disabling of all MFD drivers.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
---
 drivers/mfd/Kconfig |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

--- linux-2.6.34-rc6-git5.orig/drivers/mfd/Kconfig
+++ linux-2.6.34-rc6-git5/drivers/mfd/Kconfig
@@ -2,8 +2,14 @@
 # Multifunction miscellaneous devices
 #
 
-menu "Multifunction device drivers"
+menuconfig MFD_SUPPORT
+	bool "Multifunction device drivers"
 	depends on HAS_IOMEM
+	default y
+	help
+	  Configure MFD device drivers.
+
+if MFD_SUPPORT
 
 config MFD_CORE
 	tristate
@@ -399,7 +405,7 @@ config LPC_SCH
 	  LPC bridge function of the Intel SCH provides support for
 	  System Management Bus and General Purpose I/O.
 
-endmenu
+endif # MFD_SUPPORT
 
 menu "Multimedia Capabilities Port drivers"
 	depends on ARCH_SA1100

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mfd: use menuconfig for quicker config editing
  2010-05-07 22:05 [PATCH] mfd: use menuconfig for quicker config editing Randy Dunlap
@ 2010-05-10 23:09 ` Samuel Ortiz
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2010-05-10 23:09 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: lkml, akpm

Hi Randy,

On Fri, May 07, 2010 at 03:05:25PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Change MFD 'menu' to 'menuconfig' to facilitate easy (one-click)
> disabling of all MFD drivers.
Thanks, patch applied.

Cheers,
Samuel.


> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> Cc: Samuel Ortiz <sameo@linux.intel.com>
> ---
>  drivers/mfd/Kconfig |   10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
> 
> --- linux-2.6.34-rc6-git5.orig/drivers/mfd/Kconfig
> +++ linux-2.6.34-rc6-git5/drivers/mfd/Kconfig
> @@ -2,8 +2,14 @@
>  # Multifunction miscellaneous devices
>  #
>  
> -menu "Multifunction device drivers"
> +menuconfig MFD_SUPPORT
> +	bool "Multifunction device drivers"
>  	depends on HAS_IOMEM
> +	default y
> +	help
> +	  Configure MFD device drivers.
> +
> +if MFD_SUPPORT
>  
>  config MFD_CORE
>  	tristate
> @@ -399,7 +405,7 @@ config LPC_SCH
>  	  LPC bridge function of the Intel SCH provides support for
>  	  System Management Bus and General Purpose I/O.
>  
> -endmenu
> +endif # MFD_SUPPORT
>  
>  menu "Multimedia Capabilities Port drivers"
>  	depends on ARCH_SA1100

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-10 23:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 22:05 [PATCH] mfd: use menuconfig for quicker config editing Randy Dunlap
2010-05-10 23:09 ` Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox