Skip to content

Commit

Permalink
PCI hotplug: cpcihp: fix debug module parameter to be bool
Browse files Browse the repository at this point in the history
Fix debug variable from module parameter to be really bool to
fix 'warning: return from incompatible pointer type'.

Acked-by: Scott Murray <scott@spiteful.org>
Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
  • Loading branch information
Danny Kukawka authored and Jesse Barnes committed Feb 14, 2012
1 parent 26f4106 commit 309c665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/hotplug/cpcihp_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
#define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME , ## arg)

/* local variables */
static int debug;
static bool debug;
static char *bridge;
static u8 bridge_busnr;
static u8 bridge_slot;
Expand Down

0 comments on commit 309c665

Please sign in to comment.