From 0c127d02b1bddfa51d68ab4fc0e557a9491d8509 Mon Sep 17 00:00:00 2001 From: Daniel Lezcano Date: Wed, 31 Oct 2012 01:09:02 +0100 Subject: [PATCH] --- yaml --- r: 336731 b: refs/heads/master c: 8f3e9953e1e4ae5c11e2e880e7d85c03c0180613 h: refs/heads/master i: 336729: fb53c2f74cb3a675cc620525ce965f2893ae7c9d 336727: 572b23dbc018846f138ad39de1a0e31da1024aa2 v: v3 --- [refs] | 2 +- trunk/drivers/cpuidle/cpuidle.h | 5 +++-- trunk/drivers/cpuidle/sysfs.c | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index f5fbfb865110..5c18f6e02683 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 349631e0e411fefa2fed7e0a30b97704562dbd6b +refs/heads/master: 8f3e9953e1e4ae5c11e2e880e7d85c03c0180613 diff --git a/trunk/drivers/cpuidle/cpuidle.h b/trunk/drivers/cpuidle/cpuidle.h index 2120d9e937c7..f6b0923c2253 100644 --- a/trunk/drivers/cpuidle/cpuidle.h +++ b/trunk/drivers/cpuidle/cpuidle.h @@ -5,8 +5,6 @@ #ifndef __DRIVER_CPUIDLE_H #define __DRIVER_CPUIDLE_H -#include - /* For internal use only */ extern struct cpuidle_governor *cpuidle_curr_governor; extern struct list_head cpuidle_governors; @@ -25,6 +23,9 @@ extern void cpuidle_uninstall_idle_handler(void); extern int cpuidle_switch_governor(struct cpuidle_governor *gov); /* sysfs */ + +struct device; + extern int cpuidle_add_interface(struct device *dev); extern void cpuidle_remove_interface(struct device *dev); extern int cpuidle_add_state_sysfs(struct cpuidle_device *device); diff --git a/trunk/drivers/cpuidle/sysfs.c b/trunk/drivers/cpuidle/sysfs.c index f15c1e56e16f..49b1f4bcc1b3 100644 --- a/trunk/drivers/cpuidle/sysfs.c +++ b/trunk/drivers/cpuidle/sysfs.c @@ -12,6 +12,7 @@ #include #include #include +#include #include "cpuidle.h"