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:
Danny Kukawka 2012-01-30 23:00:10 +01:00 committed by Jesse Barnes
parent 26f41062f2
commit 309c665110

View File

@ -62,7 +62,7 @@
#define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME , ## arg) #define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME , ## arg)
/* local variables */ /* local variables */
static int debug; static bool debug;
static char *bridge; static char *bridge;
static u8 bridge_busnr; static u8 bridge_busnr;
static u8 bridge_slot; static u8 bridge_slot;