Skip to contentSkip to conversation

rpaphp build break - remove eeh register

PATCH Applied John Rose 2 participants 2 messages Aug 3, 2004 – Aug 5, 2004

Subsystems (3)
lore
Share & tools
lore

John Rose

author
#0 lore raw

PATCH 1/1 rpaphp build break - remove eeh register

Hi Greg-

The following patch removes eeh function calls that currently break the RPA PCI Hotplug module. The functions in question were rejected from mainline, and an alternate solution is being worked.

Thanks-
John

drivers/pci/hotplug/rpaphp_core.c +0 -8
diff -Nru a/drivers/pci/hotplug/rpaphp_core.c b/drivers/pci/hotplug/rpaphp_core.c
@@ -54,8 +54,6 @@
 MODULE_DESCRIPTION(DRIVER_DESC);
 MODULE_LICENSE("GPL");
 
-void eeh_register_disable_func(int (*)(struct pci_dev *));
-
 module_param(debug, bool, 0644);
 
 static int enable_slot(struct hotplug_slot *slot);
@@ -407,18 +405,12 @@
 {
 	info(DRIVER_DESC " version: " DRIVER_VERSION "\n");
 
-	/* let EEH know they can use hotplug */
-	eeh_register_disable_func(&rpaphp_disable_slot);
-
 	/* read all the PRA info from the system */
 	return init_rpa();
 }
 
 static void __exit rpaphp_exit(void)
 {
-	/* let EEH know we are going away */
-	eeh_register_disable_func(NULL);
-
 	cleanup_slots();
 }
 
Applied
#1 lore raw
Quoted 5 lines · John Rose

Hi Greg-

The following patch removes eeh function calls that currently break the RPA PCI Hotplug module. The functions in question were rejected from mainline, and an alternate solution is being worked.

Applied, thanks.

greg k-h