From: Wan Jiabing Date: Wed, 24 Mar 2021 07:29:11 +0000 (+0800) Subject: PM: core: Remove duplicate declaration from header file X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e84dff1bf0eaccd0231ecf02a8f5c9830d7d34dc;p=linux.git PM: core: Remove duplicate declaration from header file struct device is declared twice, so remove the duplicate. Signed-off-by: Wan Jiabing Signed-off-by: Rafael J. Wysocki --- diff --git a/include/linux/pm.h b/include/linux/pm.h index 482313a8ccfc1..c9657408fee1a 100644 --- 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" */