On Thu, May 10, 2018 at 09:28:35PM +0300, Mika Westerberg wrote: > + > +#ifdef CONFIG_HOTPLUG_PCI_PCIE > +#define pciehp_available() true > +#else > +#define pciehp_available() false > +#endif > + More succinctly, #define pciehp_available() IS_ENABLED(CONFIG_HOTPLUG_PCI_PCIE) (Or use that directly instead of defining an additional macro.) Thanks, Lukas