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 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html