提交 309c6651 编写于 作者: D Danny Kukawka 提交者: Jesse Barnes

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: NScott Murray <scott@spiteful.org>
Signed-off-by: NDanny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
上级 26f41062
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册