diff options
author | Tony Lindgren <tony@atomide.com> | 2018-02-08 08:30:10 -0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-02-26 23:23:37 +0100 |
commit | da997b22c40473b7db60bde6ea188d35565d10c8 (patch) | |
tree | 17c26d3593dc20083f74d85c0210f3a42d96cf82 /drivers/base/power/power.h | |
parent | 4a3928c6f8a53fa1aed28ccba227742486e8ddcb (diff) | |
download | linux-stable-da997b22c40473b7db60bde6ea188d35565d10c8.tar.gz linux-stable-da997b22c40473b7db60bde6ea188d35565d10c8.tar.bz2 linux-stable-da997b22c40473b7db60bde6ea188d35565d10c8.zip |
PM / wakeirq: Add wakeup name to dedicated wake irqs
This makes it easy to grep :wakeup /proc/interrupts.
Suggested-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/power/power.h')
-rw-r--r-- | drivers/base/power/power.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/power/power.h b/drivers/base/power/power.h index 21244c53e377..86e67e70b509 100644 --- a/drivers/base/power/power.h +++ b/drivers/base/power/power.h @@ -31,6 +31,7 @@ struct wake_irq { struct device *dev; unsigned int status; int irq; + const char *name; }; extern void dev_pm_arm_wake_irq(struct wake_irq *wirq); |