This is my first patch submitted. I hope I can finally say I have a
commit in the Linux source code :)
From 1ce6365d07c734cea9965d3135dd64e2641021ef Mon Sep 17 00:00:00 2001
From: kindlehl <kindl...@osuosl.org>
Date: Wed, 19 Dec 2018 22:36:22 -0800
Subject: [PATCH] Removed twin forward-declaration of struct device

Signed-off-by: kindlehl <kindl...@osuosl.org>
---
 include/linux/pm.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/pm.h b/include/linux/pm.h
index e723b78d8357..d33147db9400 100644
--- a/include/linux/pm.h
+++ b/include/linux/pm.h
@@ -51,8 +51,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" */
 #else
-- 
2.19.1

Reply via email to