Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / linux / usb / xhci-dbgp.h
blob171fd74b1cfc50af3cef06c5cb16a1d30ebe55d4
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * Standalone xHCI debug capability driver
5 * Copyright (C) 2016 Intel Corporation
7 * Author: Lu Baolu <baolu.lu@linux.intel.com>
8 */
10 #ifndef __LINUX_XHCI_DBGP_H
11 #define __LINUX_XHCI_DBGP_H
13 #ifdef CONFIG_EARLY_PRINTK_USB_XDBC
14 int __init early_xdbc_parse_parameter(char *s, int keep_early);
15 int __init early_xdbc_setup_hardware(void);
16 void __init early_xdbc_register_console(void);
17 #else
18 static inline int __init early_xdbc_setup_hardware(void)
20 return -ENODEV;
22 static inline void __init early_xdbc_register_console(void)
25 #endif /* CONFIG_EARLY_PRINTK_USB_XDBC */
26 #endif /* __LINUX_XHCI_DBGP_H */