lkml.org 
[lkml]   [2008]   [Mar]   [25]   [last100]   RSS-feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Complete thread (EXPERIMENTAL)
Patch in this message
/
DateMon, 24 Mar 2008 22:16:30 -0600
FromAlex Chiang <>
Subject[PATCH 2/4] Export kobject_rename for pci_hotplug_core
Digg This
From: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Export kobject_rename() to fix the following link error. This happens when pci_hotplug_core driver is compiled as a kernel module.
ERROR: "kobject_rename" [drivers/pci/hotplug/pci_hotplug.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
make: *** Waiting for unfinished jobs....
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Acked-by: Alex Chiang <achiang@hp.com>
---
 lib/kobject.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

[view this diff only]
diff --git a/lib/kobject.c b/lib/kobject.c
index 0d03252..e2a9f65 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -456,6 +456,7 @@ out:
 
 	return error;
 }
+EXPORT_SYMBOL_GPL(kobject_rename);
 
 /**
  * kobject_move - move object to another parent
-- 
1.5.3.1.g1e61



\
ISP Services
Valid XHTML 1.0!\ /
Valid CSS! Last update: 2008-03-25 05:19    [W:0.213 / U:0.070 seconds]
©2003-2005 Jasper Spaans