RE: [PATCH v7] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller
From: Bharat Kumar Gogada
Date: Wed Nov 04 2015 - 02:54:18 EST
> > Without #ifdefs if we compile driver for legacy, MSI structures will not be
> available and we get compile time error.
>
> Sorry for nitpicking but at least can we use elegant version of #ifdefs .i.e. #if
> IS_ENABLED() here ?
>
Since IS_ENABLED() is checked at runtime, compile time error would come for legacy.
Thanks
Bharat