Commit 651de80f authored by Anton Blanchard's avatar Anton Blanchard

[PATCH] ppc64: fix pci hotplug compile error

Fix a compile error in the ppc64 pci hotplug code.
parent 750737f6
......@@ -54,7 +54,7 @@
#define dbg(format, arg...) \
do { \
if (rpaphp_debug) \
if (debug) \
printk(KERN_DEBUG "%s: " format, \
MY_NAME , ## arg); \
} while (0)
......
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment