public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rpaphp build break - remove eeh register
@ 2004-08-03 15:47 John Rose
  2004-08-05 22:41 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: John Rose @ 2004-08-03 15:47 UTC (permalink / raw)
  To: greg; +Cc: lkml, Linas Vepstas

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

diff -Nru a/drivers/pci/hotplug/rpaphp_core.c b/drivers/pci/hotplug/rpaphp_core.c
--- a/drivers/pci/hotplug/rpaphp_core.c	Tue Aug  3 10:38:57 2004
+++ b/drivers/pci/hotplug/rpaphp_core.c	Tue Aug  3 10:38:57 2004
@@ -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();
 }
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] rpaphp build break - remove eeh register
  2004-08-03 15:47 [PATCH] rpaphp build break - remove eeh register John Rose
@ 2004-08-05 22:41 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2004-08-05 22:41 UTC (permalink / raw)
  To: John Rose; +Cc: lkml, Linas Vepstas

On Tue, Aug 03, 2004 at 10:47:25AM -0500, John Rose wrote:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-05 22:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-03 15:47 [PATCH] rpaphp build break - remove eeh register John Rose
2004-08-05 22:41 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox