]> git.baikalelectronics.ru Git - kernel.git/commit
PM / OPP: Fix build when CONFIG_PM_OPP is not set
authorTony Lindgren <tony@atomide.com>
Thu, 3 Nov 2011 09:12:27 +0000 (10:12 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 4 Nov 2011 21:28:13 +0000 (22:28 +0100)
commit123c562d5cacdb617cd79c4944ae8a5bc1ec1d86
treebc4a0258ae5d48b541fd25d40c3594e050dd5ac9
parent9f12481ae56ce60d35fa24da53b6bb1a5e1b1153
PM / OPP: Fix build when CONFIG_PM_OPP is not set

Commit 694f93a59991953c57a226de5f046bc540278c09 (PM / OPP: Add
OPP availability change notifier) does not compile if CONFIG_PM_OPP
is not set:

arch/arm/plat-omap/omap-pm-noop.o: In function `opp_get_notifier':
include/linux/opp.h:103: multiple definition of `opp_get_notifier'
include/linux/opp.h:103: first defined here

Also fix incorrect comment.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
include/linux/opp.h