lkml.org 
[lkml]   [2003]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [TRIVIAL] sanitize power management config menus, take two
> [poup@poupinou.org]
>
> I don't understand this chunk:
>
> > diff -urN a/arch/i386/kernel/cpu/cpufreq/Kconfig b/arch/i386/kernel/cpu/cpufreq/Kconfig
> > --- a/arch/i386/kernel/cpu/cpufreq/Kconfig 2003-07-10 23:30:33.000000000 +0200
> > +++ b/arch/i386/kernel/cpu/cpufreq/Kconfig 2003-07-27 13:50:30.000000000 +0200
> > @@ -2,10 +2,9 @@
> > # CPU Frequency scaling
> > #
> >
> > -menu "CPU Frequency scaling"
> > -
> > config CPU_FREQ
> > bool "CPU Frequency scaling"
> > + depends on PM
> > help
> > Clock scaling allows you to change the clock speed of CPUs on the
> > fly. This is a nice method to save battery power on notebooks,
> > @@ -16,6 +15,8 @@
> >
> > If in doubt, say N.
> >
> > +if CPU_FREQ
> > +
> > source "drivers/cpufreq/Kconfig"
> >
> > config CPU_FREQ_TABLE
> > @@ -162,4 +163,4 @@
> >
> > If in doubt, say N.
> >
> > -endmenu
> > +endif

o only enable cpufreq options if power management is selected
o don't put cpufreq options in a separate submenu

--
Tomas Szepe <szepe@pinerecords.com>
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.039 / U:2.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site