PM: core: Remove duplicate declaration from header file
authorWan Jiabing <wanjiabing@vivo.com>
Wed, 24 Mar 2021 07:29:11 +0000 (15:29 +0800)
committerRafael 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

index 482313a8ccfc1071d0abf1260beb9f42983f5fe1..c9657408fee1aec7f2a7b215c3699e15845ff05b 100644 (file)
@@ -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" */