From: Rakib Mullick Date: Wed, 9 Dec 2009 20:34:18 +0000 (-0800) Subject: ip2: remove #ifdef MODULE from ip2main.c X-Git-Tag: v2.6.34-rc1~216^2~20 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=795877cfa4a4db0982ac21e095dad9fbdc909647;p=pandora-kernel.git ip2: remove #ifdef MODULE from ip2main.c On the kernel command line we can pass "module parameters". So #ifdef MODULE is obsolute now. Remove it completely. When CONFIG_PCI=n and building ip2main.c then we are hit by the following warning. So move *pdev into #ifdef CONFIG_PCI. drivers/char/ip2/ip2main.c: In function `ip2_loadmain': drivers/char/ip2/ip2main.c:542: warning: unused variable `pdev' Signed-off-by: Rakib Mullick Acked-by: Michael H. Warfield Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed