1 /* 2 * Standalone xHCI debug capability driver 3 * 4 * Copyright (C) 2016 Intel Corporation 5 * 6 * Author: Lu Baolu <[email protected]> 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License version 2 as 10 * published by the Free Software Foundation. 11 */ 12 13 #ifndef __LINUX_XHCI_DBGP_H 14 #define __LINUX_XHCI_DBGP_H 15 16 #ifdef CONFIG_EARLY_PRINTK_USB_XDBC 17 int __init early_xdbc_parse_parameter(char *s); 18 int __init early_xdbc_setup_hardware(void); 19 void __init early_xdbc_register_console(void); 20 #else 21 static inline int __init early_xdbc_setup_hardware(void) 22 { 23 return -ENODEV; 24 } 25 static inline void __init early_xdbc_register_console(void) 26 { 27 } 28 #endif /* CONFIG_EARLY_PRINTK_USB_XDBC */ 29 #endif /* __LINUX_XHCI_DBGP_H */ 30