[PATCH 1/3] staging: comedi: amplc_pc263: abbreviate IS_ENABLED()

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Aug 15 22:28:40 UTC 2012


On Wed, Aug 15, 2012 at 01:44:35PM +0100, Ian Abbott wrote:
> The IS_ENABLED(CONFIG_COMEDI_AMPLC_PC263_ISA) and
> IS_ENABLED(CONFIG_COMEDI_AMPLC_PC263_PCI) macro calls are a bit
> long-winded.  Define a couple of macros DO_ISA and DO_PCI as
> abbreviations for them.

Ick, any chance you can do the same inline function think you did for
the amplc_dio200 driver here as well?  Using something like DO_ISA,
isn't all that much better :(

greg k-h



More information about the devel mailing list