lkml.org 
[lkml]   [2021]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] include: linux: pm: Remove duplicate declaration
Date
struct device is declared twice.So remove the duplicate.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
include/linux/pm.h | 1 -
1 file changed, 1 deletion(-)

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" */
--
2.25.1
\
 
 \ /
  Last update: 2021-03-24 08:31    [W:0.089 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site