Re: 2.6.21-rc4-mm1: multiple definition of `queue_pushbutton_work'

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adrian Bunk <bunk@...>
Cc: Andrew Morton <akpm@...>, Kenji Kaneshige <kaneshige.kenji@...>, <linux-kernel@...>, Greg Kroah-Hartman <gregkh@...>, <linux-pci@...>
Date: Wednesday, March 21, 2007 - 2:45 pm

Fix duplicate names in shpchp and pciehp.

Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Index: 2.6-mm/drivers/pci/hotplug/pciehp.h
===================================================================
--- 2.6-mm.orig/drivers/pci/hotplug/pciehp.h
+++ 2.6-mm/drivers/pci/hotplug/pciehp.h
@@ -158,7 +158,7 @@ extern u8 pciehp_handle_presence_change(
 extern u8 pciehp_handle_power_fault(u8 hp_slot, struct controller *ctrl);
 extern int pciehp_configure_device(struct slot *p_slot);
 extern int pciehp_unconfigure_device(struct slot *p_slot);
-extern void queue_pushbutton_work(struct work_struct *work);
+extern void pciehp_queue_pushbutton_work(struct work_struct *work);
 int pcie_init(struct controller *ctrl, struct pcie_device *dev);
 
 static inline struct slot *pciehp_find_slot(struct controller *ctrl, u8 device)
Index: 2.6-mm/drivers/pci/hotplug/pciehp_core.c
===================================================================
--- 2.6-mm.orig/drivers/pci/hotplug/pciehp_core.c
+++ 2.6-mm/drivers/pci/hotplug/pciehp_core.c
@@ -229,7 +229,7 @@ static int init_slots(struct controller 
 		slot->hpc_ops = ctrl->hpc_ops;
 		slot->number = ctrl->first_slot;
 		mutex_init(&slot->lock);
-		INIT_DELAYED_WORK(&slot->work, queue_pushbutton_work);
+		INIT_DELAYED_WORK(&slot->work, pciehp_queue_pushbutton_work);
 
 		/* register this slot with the hotplug pci core */
 		hotplug_slot->private = slot;
Index: 2.6-mm/drivers/pci/hotplug/pciehp_ctrl.c
===================================================================
--- 2.6-mm.orig/drivers/pci/hotplug/pciehp_ctrl.c
+++ 2.6-mm/drivers/pci/hotplug/pciehp_ctrl.c
@@ -351,7 +351,7 @@ static void pciehp_power_thread(struct w
 	kfree(info);
 }
 
-void queue_pushbutton_work(struct work_struct *work)
+void pciehp_queue_pushbutton_work(struct work_struct *work)
 {
 	struct slot *p_slot = container_of(work, struct slot, work.work);
 	struct power_work_info *info;
Index: 2.6-mm/drivers/pci/hotplug/shpchp.h
===================================================================
--- 2.6-mm.orig/drivers/pci/hotplug/shpchp.h
+++ 2.6-mm/drivers/pci/hotplug/shpchp.h
@@ -166,7 +166,7 @@ extern u8 shpchp_handle_power_fault(u8 h
 extern int shpchp_configure_device(struct slot *p_slot);
 extern int shpchp_unconfigure_device(struct slot *p_slot);
 extern void cleanup_slots(struct controller *ctrl);
-extern void queue_pushbutton_work(struct work_struct *work);
+extern void shpchp_queue_pushbutton_work(struct work_struct *work);
 extern int shpc_init( struct controller *ctrl, struct pci_dev *pdev);
 
 #ifdef CONFIG_ACPI
Index: 2.6-mm/drivers/pci/hotplug/shpchp_core.c
===================================================================
--- 2.6-mm.orig/drivers/pci/hotplug/shpchp_core.c
+++ 2.6-mm/drivers/pci/hotplug/shpchp_core.c
@@ -136,7 +136,7 @@ static int init_slots(struct controller 
 		slot->hpc_ops = ctrl->hpc_ops;
 		slot->number = ctrl->first_slot + (ctrl->slot_num_inc * i);
 		mutex_init(&slot->lock);
-		INIT_DELAYED_WORK(&slot->work, queue_pushbutton_work);
+		INIT_DELAYED_WORK(&slot->work, shpchp_queue_pushbutton_work);
 
 		/* register this slot with the hotplug pci core */
 		hotplug_slot->private = slot;
Index: 2.6-mm/drivers/pci/hotplug/shpchp_ctrl.c
===================================================================
--- 2.6-mm.orig/drivers/pci/hotplug/shpchp_ctrl.c
+++ 2.6-mm/drivers/pci/hotplug/shpchp_ctrl.c
@@ -433,7 +433,7 @@ static void shpchp_pushbutton_thread(str
 	kfree(info);
 }
 
-void queue_pushbutton_work(struct work_struct *work)
+void shpchp_queue_pushbutton_work(struct work_struct *work)
 {
 	struct slot *p_slot = container_of(work, struct slot, work.work);
 	struct pushbutton_work_info *info;
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.21-rc4-mm1, Andrew Morton, (Tue Mar 20, 12:56 am)
Re: 2.6.21-rc4-mm1, Badari Pulavarty, (Mon Mar 26, 5:57 pm)
Re: 2.6.21-rc4-mm1, Andrew Morton, (Mon Mar 26, 6:22 pm)
Re: 2.6.21-rc4-mm1, Badari Pulavarty, (Mon Mar 26, 7:43 pm)
Re: 2.6.21-rc4-mm1, Badari Pulavarty, (Mon Mar 26, 4:05 pm)
Re: 2.6.21-rc4-mm1, Jean Delvare, (Mon Mar 26, 3:35 pm)
Re: 2.6.21-rc4-mm1, Greg KH, (Mon Mar 26, 7:26 pm)
Re: 2.6.21-rc4-mm1, Badari Pulavarty, (Mon Mar 26, 3:47 pm)
Re: 2.6.21-rc4-mm1, Paul Mackerras, (Mon Mar 26, 7:29 pm)
[-mm patch] unexport bio_{,un}map_user, Adrian Bunk, (Sat Mar 24, 9:07 am)
[-mm patch] lguest: #if 0 check_bug_kill(), Adrian Bunk, (Sat Mar 24, 9:06 am)
Re: [-mm patch] lguest: #if 0 check_bug_kill(), Rusty Russell, (Sun Mar 25, 3:33 am)
[-mm patch] lguest: remove check_bug_kill(), Adrian Bunk, (Sun Mar 25, 10:57 am)
Re: 2.6.21-rc4-mm1, J.A. , (Thu Mar 22, 7:27 pm)
Re: 2.6.21-rc4-mm1, J.A. , (Mon Mar 26, 4:31 pm)
Re: 2.6.21-rc4-mm1, Andrew Morton, (Thu Mar 22, 9:41 pm)
Re: 2.6.21-rc4-mm1, Reuben Farrelly, (Wed Mar 21, 6:14 am)
Re: 2.6.21-rc4-mm1, Randy Dunlap, (Tue Mar 20, 9:47 pm)
Re: 2.6.21-rc4-mm1, Greg KH, (Wed Mar 21, 2:36 pm)
Re: 2.6.21-rc4-mm1, Randy Dunlap, (Tue Mar 20, 7:49 pm)
FireWire update in -mm (was 2.6.21-rc4-mm1), Stefan Richter, (Tue Mar 20, 7:10 pm)
Re: 2.6.21-rc4-mm1, J.A. , (Tue Mar 20, 5:04 pm)
Re: 2.6.21-rc4-mm1: multiple definition of `queue_pushbutton..., Kristen Carlson Accardi, (Wed Mar 21, 2:45 pm)
[PATCH] utrace: make an inline void, Randy Dunlap, (Tue Mar 20, 2:09 pm)
Re: [PATCH] utrace: make an inline void, Roland McGrath, (Tue Mar 20, 9:48 pm)
Re: 2.6.21-rc4-mm1, Randy Dunlap, (Tue Mar 20, 1:31 pm)
Re: 2.6.21-rc4-mm1, Kees Cook, (Tue Mar 20, 3:20 pm)
Re: 2.6.21-rc4-mm1, Andrew Morton, (Wed Mar 21, 1:47 am)
Re: 2.6.21-rc4-mm1, Sam Ravnborg, (Wed Mar 21, 6:19 pm)
Re: 2.6.21-rc4-mm1, Andrew Morton, (Wed Mar 21, 7:01 pm)
Re: 2.6.21-rc4-mm1, Sam Ravnborg, (Thu Mar 22, 4:54 am)
Re: 2.6.21-rc4-mm1, Sam Ravnborg, (Wed Mar 21, 7:59 am)
Re: 2.6.21-rc4-mm1, David Woodhouse, (Thu Mar 22, 5:17 am)
Re: 2.6.21-rc4-mm1, Sam Ravnborg, (Thu Mar 22, 7:41 am)
Re: 2.6.21-rc4-mm1, David Woodhouse, (Thu Mar 22, 12:25 pm)
Re: 2.6.21-rc4-mm1, Sam Ravnborg, (Thu Mar 22, 12:28 pm)
Re: 2.6.21-rc4-mm1, David Woodhouse, (Wed Mar 21, 7:25 am)
Re: 2.6.21-rc4-mm1, Randy Dunlap, (Tue Mar 20, 4:50 pm)
Re: 2.6.21-rc4-mm1, Stéphane Jourdois, (Tue Mar 20, 4:42 pm)
Re: 2.6.21-rc4-mm1, J.A. , (Tue Mar 20, 12:36 pm)
Re: 2.6.21-rc4-mm1, J.A. , (Tue Mar 20, 8:14 pm)
Re: 2.6.21-rc4-mm1, Jiri Slaby, (Tue Mar 20, 10:31 am)
Re: 2.6.21-rc4-mm1, Andrew Morton, (Tue Mar 20, 12:09 pm)
Re: 2.6.21-rc4-mm1, Pavel Machek, (Tue Mar 20, 2:38 pm)
Re: 2.6.21-rc4-mm1, Jiri Slaby, (Tue Mar 20, 3:40 pm)
Re: 2.6.21-rc4-mm1, Rafael J. Wysocki, (Tue Mar 20, 4:12 pm)
Re: 2.6.21-rc4-mm1, Pavel Machek, (Tue Mar 20, 3:56 pm)
Re: 2.6.21-rc4-mm1, Jiri Slaby, (Tue Mar 20, 4:13 pm)
Re: [linux-pm] 2.6.21-rc4-mm1, Pavel Machek, (Tue Mar 20, 4:21 pm)
Re: [linux-pm] 2.6.21-rc4-mm1, Rafael J. Wysocki, (Tue Mar 20, 4:58 pm)
Re: [linux-pm] 2.6.21-rc4-mm1, Jiri Slaby, (Tue Mar 20, 4:58 pm)
Re: [linux-pm] 2.6.21-rc4-mm1, Rafael J. Wysocki, (Tue Mar 20, 5:06 pm)
Re: 2.6.21-rc4-mm1 [PATCH] init/missing_syscalls.h fix, Stephane Jourdois, (Tue Mar 20, 6:52 am)
Re: 2.6.21-rc4-mm1, Andy Whitcroft, (Tue Mar 20, 5:45 am)
Re: 2.6.21-rc4-mm1, Andy Whitcroft, (Thu Mar 22, 4:41 am)
Re: 2.6.21-rc4-mm1, Andy Whitcroft, (Thu Mar 22, 5:48 am)
Re: 2.6.21-rc4-mm1, Con Kolivas, (Thu Mar 22, 6:04 am)
Re: 2.6.21-rc4-mm1, Andy Whitcroft, (Thu Mar 22, 1:07 pm)
Re: 2.6.21-rc4-mm1, Andy Whitcroft, (Thu Mar 22, 2:17 pm)
Re: 2.6.21-rc4-mm1, Con Kolivas, (Fri Mar 23, 2:18 am)
Re: 2.6.21-rc4-mm1, Andy Whitcroft, (Fri Mar 23, 4:45 am)
Re: 2.6.21-rc4-mm1, Andy Whitcroft, (Fri Mar 23, 8:28 am)
Re: 2.6.21-rc4-mm1, Con Kolivas, (Fri Mar 23, 5:45 pm)
debug rsdl 0.33, Con Kolivas, (Fri Mar 23, 7:26 pm)
Re: debug rsdl 0.33, Torsten Kaiser, (Sun Mar 25, 2:28 pm)
Re: debug rsdl 0.33, Con Kolivas, (Sun Mar 25, 6:49 pm)
Re: debug rsdl 0.33, Con Kolivas, (Sun Mar 25, 6:59 pm)
Re: debug rsdl 0.33, Andy Whitcroft, (Mon Mar 26, 3:49 am)
Re: debug rsdl 0.33, Andy Whitcroft, (Mon Mar 26, 11:28 am)
Re: debug rsdl 0.33, Con Kolivas, (Mon Mar 26, 12:12 pm)
Re: debug rsdl 0.33, Andrew Morton, (Sun Mar 25, 6:01 pm)
Re: debug rsdl 0.33, Andy Whitcroft, (Sun Mar 25, 8:27 am)
Re: 2.6.21-rc4-mm1, Con Kolivas, (Thu Mar 22, 6:14 pm)
Re: 2.6.21-rc4-mm1, Michal Piotrowski, (Tue Mar 20, 3:54 am)