]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 3 Nov 2011 09:12:27 +0000 (10:12 +0100)
commit16e1618ebf6e604ec8079246b46d8fb73f5900b1
treebc1620b65452905cbc9a05309fbf95a9fcee7d9f
parentba8cd3b04272bcc0db2c9a3523305a90ee0faa07
PM / OPP: Fix build when CONFIG_PM_OPP is not set

Commit 03ca370fbf7b76d6d002380dbdc2cdc2319f9c80 (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