Skip to contentSkip to conversation

fix a warning on drivers/pci/hotplug/ibmphp_core.c

PATCH New Zhenwen Xu 1 participant 1 message Apr 12, 2009 PCI

lore
Share & tools
lore

Zhenwen Xu

author
#0 lore raw

PATCH 1/1 fix a warning on drivers/pci/hotplug/ibmphp_core.c

fix this warning:
drivers/pci/hotplug/ibmphp_core.c:1414: warning: ‘ibmphp_exit’ defined but not used

It missed the "module_exit".

Quoted 1 line

From bb3c7845b38dff4628fe482207790b82a3df0ab4 Mon Sep 17 00:00:00 2001

From: Zhenwen Xu <[email protected]>
Date: Sun, 12 Apr 2009 19:10:58 +0800
Subject: [PATCH] fix the warning ‘ibmphp_exit’ defined but not used
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

---
 drivers/pci/hotplug/ibmphp_core.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/pci/hotplug/ibmphp_core.c +1 -0
index dd18f85..29ccb8a 100644
@@ -1419,3 +1419,4 @@ static void __exit ibmphp_exit(void)
 }
 
 module_init(ibmphp_init);
+module_exit(ibmphp_exit);
Signature · 7 lines
1.5.6.5

-- 
---------------------------------
Zhenwen Xu - Open and Free
Home Page:	http://zhwen.org
My Studio:	http://dim4.cn