Skip to content

Commit

Permalink
PM: core: Remove duplicate declaration from header file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wan Jiabing authored and Rafael J. Wysocki committed Apr 7, 2021
1 parent e49d033 commit e84dff1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/linux/pm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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" */
Expand Down

0 comments on commit e84dff1

Please sign in to comment.