mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-19 19:14:01 +08:00
PM / devfreq: make devfreq_class static
devfreq_class is used internally by devfreq and has no need to be globally available. This also fixes the following sparse warning: drivers/devfreq/devfreq.c:30:14: warning: symbol 'devfreq_class' was not declared. Should it be static? Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
12e26265e6
commit
1a1357ea17
@ -27,7 +27,7 @@
|
|||||||
#include <linux/hrtimer.h>
|
#include <linux/hrtimer.h>
|
||||||
#include "governor.h"
|
#include "governor.h"
|
||||||
|
|
||||||
struct class *devfreq_class;
|
static struct class *devfreq_class;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* devfreq core provides delayed work based load monitoring helper
|
* devfreq core provides delayed work based load monitoring helper
|
||||||
|
Loading…
Reference in New Issue
Block a user