From: Wan Jiabing Date: Wed, 24 Mar 2021 07:29:11 +0000 (+0800) Subject: PM: core: Remove duplicate declaration from header file X-Git-Tag: iomap-folio-5.17-old~1593^2~3^2~2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e84dff1bf0eaccd0231ecf02a8f5c9830d7d34dc;p=users%2Fwilly%2Flinux.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 482313a8ccfc..c9657408fee1 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" */