PM / OPP: Hide OPP configuration when SoCs do not provide an implementation
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 11 Nov 2010 00:51:26 +0000 (01:51 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 11 Nov 2010 00:51:26 +0000 (01:51 +0100)
commit43e60861fe9d39740cf5b355f58fecedf0d8e9ba
tree7751208ba2b579d22e70bd5043c6b4c63847feb5
parentd08a5ace18dce9b18d8eb56bb6c0feef082b1b33
PM / OPP: Hide OPP configuration when SoCs do not provide an implementation

Since the OPP API is only useful with an appropraite SoC-specific
implementation there is no point in offering the ability to enable
the API on general systems. Provide an ARCH_HAS OPP Kconfig symbol
which masks out the option unless selected by an implementation.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Nishanth Menon <nm@ti.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Documentation/power/opp.txt
kernel/power/Kconfig