diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-10-13 03:24:51 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-10-13 03:24:59 -0400 |
commit | 2c96c142e941041973faab20ca3b82d57f435c5e (patch) | |
tree | 45188f0ecb3f4bb7408a7219f8fcd041d500235a /drivers/input/input.c | |
parent | 3c355863fb32070a2800f41106519c5c3038623a (diff) | |
parent | 8ad807318fcd62aba0e18c7c7fbfcc1af3fcdbab (diff) |
Merge branch 'tracing/urgent' into tracing/core
Merge reason: Pick up tracing/filters fix from the urgent queue,
we will queue up dependent patches.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/input/input.c')
-rw-r--r-- | drivers/input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index e828aab7dace..16ec33f27c5d 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c | |||
@@ -1273,6 +1273,7 @@ static int input_dev_uevent(struct device *device, struct kobj_uevent_env *env) | |||
1273 | } \ | 1273 | } \ |
1274 | } while (0) | 1274 | } while (0) |
1275 | 1275 | ||
1276 | #ifdef CONFIG_PM | ||
1276 | static void input_dev_reset(struct input_dev *dev, bool activate) | 1277 | static void input_dev_reset(struct input_dev *dev, bool activate) |
1277 | { | 1278 | { |
1278 | if (!dev->event) | 1279 | if (!dev->event) |
@@ -1287,7 +1288,6 @@ static void input_dev_reset(struct input_dev *dev, bool activate) | |||
1287 | } | 1288 | } |
1288 | } | 1289 | } |
1289 | 1290 | ||
1290 | #ifdef CONFIG_PM | ||
1291 | static int input_dev_suspend(struct device *dev) | 1291 | static int input_dev_suspend(struct device *dev) |
1292 | { | 1292 | { |
1293 | struct input_dev *input_dev = to_input_dev(dev); | 1293 | struct input_dev *input_dev = to_input_dev(dev); |