usb: xhci: Use IS_ENABLED() macro
[firefly-linux-kernel-4.4.55.git] / drivers / usb / host / xhci.h
index 4746816aed3e7c42097d10986acfff09e19ac27b..cc67c7686706a698dc33ffc5a403f85dec56e6d0 100644 (file)
@@ -1738,8 +1738,7 @@ static inline int xhci_register_pci(void) { return 0; }
 static inline void xhci_unregister_pci(void) {}
 #endif
 
-#if defined(CONFIG_USB_XHCI_PLATFORM) \
-       || defined(CONFIG_USB_XHCI_PLATFORM_MODULE)
+#if IS_ENABLED(CONFIG_USB_XHCI_PLATFORM)
 int xhci_register_plat(void);
 void xhci_unregister_plat(void);
 #else