From: Ian Abbott Date: Mon, 18 Mar 2013 17:19:07 +0000 (+0000) Subject: staging: comedi: amplc_dio200: don't check bus-type in dio200_common_attach() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~490 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5afb56cda90c100e6f9d62747d1b8cf94d0936a4;p=pandora-kernel.git staging: comedi: amplc_dio200: don't check bus-type in dio200_common_attach() The "amplc_dio200" driver is going to be split into separate drivers for ISA and PCI cards with a common module containing most of the code. We don't want the common module code to depend on whether ISA boards, PCI boards, or both are supported. Currently, `dio200_common_attach()` and `dio200_detach()` optimize out the code to support a timer subdevice when built to support ISA boards only. Remove the `if (DO_PCI)` tests which optimize out that code. Unfortunately, this will expand the module's code size for an ISA-only driver a bit. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed