summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorRakib Mullick <rakib.mullick@gmail.com>2009-12-09 12:34:18 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 14:43:14 -0800
commit795877cfa4a4db0982ac21e095dad9fbdc909647 (patch)
tree38b4cb5534d3efff945719a521ea4c665b59a14c /drivers/i2c
parentc6fc826e4c51d2c54913c2a6d800159a2c7dac4b (diff)
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 <rakib.mullick@gmail.com> Acked-by: Michael H. Warfield <mhw@WittsEnd.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions