]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] ppc64: fix pci hotplug compile error
authorAnton Blanchard <anton@samba.org>
Fri, 27 Feb 2004 01:28:39 +0000 (17:28 -0800)
committerAnton Blanchard <anton@samba.org>
Fri, 27 Feb 2004 01:28:39 +0000 (17:28 -0800)
Fix a compile error in the ppc64 pci hotplug code.

drivers/pci/hotplug/rpaphp.h
drivers/pci/hotplug/rpaphp_core.c

index 263ea5f4220e1aab6cfe852b9445aa7630147d3e..05c5cb1db65d495b5ee8b2dd1fca2e1c86a873a9 100644 (file)
@@ -54,7 +54,7 @@
 
 #define dbg(format, arg...)                                    \
        do {                                                    \
-               if (rpaphp_debug)                               \
+               if (debug)                                      \
                        printk(KERN_DEBUG "%s: " format,        \
                                MY_NAME , ## arg);              \
        } while (0)
index 23c527e8c775a7093d651e66d0d3bb6114801c2a..d0966822a5127086b063cb7148bcf1f734a725e3 100644 (file)
@@ -39,7 +39,7 @@
 #include "pci_hotplug.h"
 
 
-static int debug = 1;
+static int debug;
 static struct semaphore rpaphp_sem;
 static LIST_HEAD (rpaphp_slot_head);
 static int num_slots;
@@ -838,8 +838,6 @@ static int __init rpaphp_init(void)
 
        info(DRIVER_DESC " version: " DRIVER_VERSION "\n");
 
-       rpaphp_debug = debug;
-
        /* read all the PRA info from the system */
        retval = init_rpa();