PCI hotplug: cpcihp: fix debug module parameter to be bool
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>
This commit is contained in:
parent
26f41062f2
commit
309c665110
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue