summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2012-05-30 19:04:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-04 20:48:07 -0700
commitb4843c19be4cbae48dc002080bdf49c274f26796 (patch)
treed338d20ba9f8269987a39d976eecb0a84d8e33c7 /include/linux
parent61f5a223155d278c9731f2406513847b8fe0bddc (diff)
staging: comedi: amplc_pc263: Use IS_ENABLED()
Change conditional compilation on kernel options to use the IS_ENABLED() macro. Remove most of the #ifdef lines and add extra if (IS_ENABLED(xxx)) tests so the compiler can remove unreachable code. The pci_driver stuff and device table is still conditionally compiled. In pc263_attach() move the call to alloc_private() as it is only used for PCI devices. (In pc263_detach(), for ISA devices a non-zero dev->iobase means the I/O region needs releasing.) Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions