public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: David Brownell <david-b@pacbell.net>
Cc: Alessandro Zummo <alessandro.zummo@towertech.it>,
	Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: [patch 2.6.19-git] RTC Kconfig sorted by type
Date: Wed, 13 Dec 2006 00:05:18 +0100	[thread overview]
Message-ID: <20061212230517.GA28443@stusta.de> (raw)
In-Reply-To: <200612061652.45242.david-b@pacbell.net>

On Wed, Dec 06, 2006 at 04:52:44PM -0800, David Brownell wrote:
> This reorders the RTC driver menu into separate sections, splitting out
> the SOC, I2C, and SPI support to help make the menu easier to navigate.
> (We got some feedback a while ago that it was "a mess" and hard to make
> sense of...)
> 
> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
> 
> ---
> Assumes the rtc-omap patch has been merged, and no other RTC drivers
> have been added to this Kconfig menu.
> 
> Index: at91/drivers/rtc/Kconfig
> ===================================================================
> --- at91.orig/drivers/rtc/Kconfig	2006-12-05 03:25:20.000000000 -0800
> +++ at91/drivers/rtc/Kconfig	2006-12-05 03:46:53.000000000 -0800
> @@ -1,4 +1,4 @@
> -\#
> +#
>  # RTC class/drivers configuration
>  #
>  
> @@ -20,6 +20,8 @@ config RTC_CLASS
>  	  This driver can also be built as a module. If so, the module
>  	  will be called rtc-class.
>  
> +if RTC_CLASS != n
> +


if RTC_CLASS


because otherwise


>  config RTC_HCTOSYS
>  	bool "Set system time from RTC on startup"
>  	depends on RTC_CLASS = y
> @@ -45,11 +47,10 @@ config RTC_DEBUG
>  	  and individual RTC drivers.
>  
>  comment "RTC interfaces"
> -	depends on RTC_CLASS
>  
>  config RTC_INTF_SYSFS
>  	tristate "sysfs"
> -	depends on RTC_CLASS && SYSFS
> +	depends on SYSFS
>...


RTC_CLASS=m, RTC_INTF_SYSFS=y would be an allowed configuration.


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  parent reply	other threads:[~2006-12-12 23:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-07  0:52 [patch 2.6.19-git] RTC Kconfig sorted by type David Brownell
2006-12-08 14:06 ` Alessandro Zummo
2006-12-12 23:05 ` Adrian Bunk [this message]
2006-12-13  1:31   ` David Brownell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061212230517.GA28443@stusta.de \
    --to=bunk@stusta.de \
    --cc=alessandro.zummo@towertech.it \
    --cc=david-b@pacbell.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox