summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-01-17 00:09:38 +0100
committerJiri Kosina <jkosina@suse.cz>2011-01-19 15:43:08 +0100
commit42b16b3fbb5ee4555f5dee6220f3ccaa6e1ebe47 (patch)
tree966c1266afca5dd0e59cace37f7cd49577bdf0e2 /drivers/cpuidle
parentf0940cee222790e6e995a23f25c4ffb23f939a24 (diff)
downloadlinux-42b16b3fbb5ee4555f5dee6220f3ccaa6e1ebe47.tar.gz
linux-42b16b3fbb5ee4555f5dee6220f3ccaa6e1ebe47.tar.bz2
linux-42b16b3fbb5ee4555f5dee6220f3ccaa6e1ebe47.zip
Kill off warning: ‘inline’ is not at beginning of declaration
Fix a bunch of warning: ‘inline’ is not at beginning of declaration messages when building a 'make allyesconfig' kernel with -Wextra. These warnings are trivial to kill, yet rather annoying when building with -Wextra. The more we can cut down on pointless crap like this the better (IMHO). A previous patch to do this for a 'allnoconfig' build has already been merged. This just takes the cleanup a little further. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r--drivers/cpuidle/sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpuidle/sysfs.c b/drivers/cpuidle/sysfs.c
index 0310ffaec9df..be7917ec40c9 100644
--- a/drivers/cpuidle/sysfs.c
+++ b/drivers/cpuidle/sysfs.c
@@ -300,7 +300,7 @@ static struct kobj_type ktype_state_cpuidle = {
.release = cpuidle_state_sysfs_release,
};
-static void inline cpuidle_free_state_kobj(struct cpuidle_device *device, int i)
+static inline void cpuidle_free_state_kobj(struct cpuidle_device *device, int i)
{
kobject_put(&device->kobjs[i]->kobj);
wait_for_completion(&device->kobjs[i]->kobj_unregister);