summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/cpcihp_generic.c
diff options
context:
space:
mode:
authorDanny Kukawka <danny.kukawka@bisect.de>2012-01-30 23:00:10 +0100
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-02-14 08:45:03 -0800
commit309c665110ee6a8d9a28f802c41eaab50ceebbf7 (patch)
treee0b3fa4dd0c6e0535314118597151e01c2479568 /drivers/pci/hotplug/cpcihp_generic.c
parent26f41062f28de65e11d3cf353e52d0be73442be1 (diff)
downloadlinux-stable-309c665110ee6a8d9a28f802c41eaab50ceebbf7.tar.gz
linux-stable-309c665110ee6a8d9a28f802c41eaab50ceebbf7.tar.bz2
linux-stable-309c665110ee6a8d9a28f802c41eaab50ceebbf7.zip
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>
Diffstat (limited to 'drivers/pci/hotplug/cpcihp_generic.c')
-rw-r--r--drivers/pci/hotplug/cpcihp_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/cpcihp_generic.c b/drivers/pci/hotplug/cpcihp_generic.c
index fb3f84661bdc..81af764c629b 100644
--- a/drivers/pci/hotplug/cpcihp_generic.c
+++ b/drivers/pci/hotplug/cpcihp_generic.c
@@ -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;