projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e49d033
)
PM: core: Remove duplicate declaration from header file
author
Wan Jiabing
<wanjiabing@vivo.com>
Wed, 24 Mar 2021 07:29:11 +0000
(15:29 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Wed, 7 Apr 2021 17:18:23 +0000
(19:18 +0200)
struct device is declared twice, so remove the duplicate.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/pm.h
patch
|
blob
|
history
diff --git
a/include/linux/pm.h
b/include/linux/pm.h
index 482313a8ccfc1071d0abf1260beb9f42983f5fe1..c9657408fee1aec7f2a7b215c3699e15845ff05b 100644
(file)
--- a/
include/linux/pm.h
+++ b/
include/linux/pm.h
@@
-39,7
+39,6
@@
static inline void pm_vt_switch_unregister(struct device *dev)
* Device power management
*/
-struct device;
#ifdef CONFIG_PM
extern const char power_group_name[]; /* = "power" */