From: Danny Kukawka Date: Mon, 30 Jan 2012 22:00:10 +0000 (+0100) Subject: PCI hotplug: cpcihp: fix debug module parameter to be bool X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=309c665110ee6a8d9a28f802c41eaab50ceebbf7;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Danny Kukawka Signed-off-by: Jesse Barnes --- 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;