PM / devfreq: export update_devfreq
authorNishanth Menon <nm@ti.com>
Mon, 29 Oct 2012 20:01:42 +0000 (15:01 -0500)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 20 Nov 2012 07:06:03 +0000 (16:06 +0900)
Allow update_devfreq to be used by devfreq governor built
as modules

Cc: Rajagopal Venkat <rajagopal.venkat@linaro.org>
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Kevin Hilman <khilman@ti.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/devfreq.c

index bf6de38190cf5ff19a867e2515b4cb47e9ed515b..e0002c5cbadcd3f120aad0f67b9fdf1994147b1d 100644 (file)
@@ -165,6 +165,7 @@ int update_devfreq(struct devfreq *devfreq)
        devfreq->previous_freq = freq;
        return err;
 }
+EXPORT_SYMBOL(update_devfreq);
 
 /**
  * devfreq_monitor() - Periodically poll devfreq objects.