Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116717
b: refs/heads/master
c: 5d9bc1f
h: refs/heads/master
i:
  116715: 76c9a3b
v: v3
  • Loading branch information
Kristen Carlson Accardi authored and Jesse Barnes committed Oct 20, 2008
1 parent 0707e9d commit ab8bf10
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c9bbb4abb658daf6cc6f92fb4751a7796a5aab75
refs/heads/master: 5d9bc1fa47f0c1561f1d7c0bdff5e24860852b42
4 changes: 2 additions & 2 deletions trunk/drivers/pci/hotplug/rpaphp.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
#define PRESENT 1 /* Card in slot */

#define MY_NAME "rpaphp"
extern int debug;
extern int rpaphp_debug;
#define dbg(format, arg...) \
do { \
if (debug) \
if (rpaphp_debug) \
printk(KERN_DEBUG "%s: " format, \
MY_NAME , ## arg); \
} while (0)
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/pci/hotplug/rpaphp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
/* and pci_do_scan_bus */
#include "rpaphp.h"

int debug;
int rpaphp_debug;
LIST_HEAD(rpaphp_slot_head);

#define DRIVER_VERSION "0.1"
Expand All @@ -50,7 +50,7 @@ MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");

module_param(debug, bool, 0644);
module_param_named(debug, rpaphp_debug, bool, 0644);

/**
* set_attention_status - set attention LED
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/pci/hotplug/rpaphp_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ int rpaphp_enable_slot(struct slot *slot)
slot->state = CONFIGURED;
}

if (debug) {
if (rpaphp_debug) {
struct pci_dev *dev;
dbg("%s: pci_devs of slot[%s]\n", __func__, slot->dn->full_name);
list_for_each_entry (dev, &bus->devices, bus_list)
Expand Down

0 comments on commit ab8bf10

Please sign in to comment.