blob: 80c1cca1f52976117a4f62928bd56d23fb191f5d [file] [log] [blame]
Lu Baoluaeb9dd12017-03-21 16:01:30 +08001/*
2 * Standalone xHCI debug capability driver
3 *
4 * Copyright (C) 2016 Intel Corporation
5 *
6 * Author: Lu Baolu <baolu.lu@linux.intel.com>
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
17int __init early_xdbc_parse_parameter(char *s);
18int __init early_xdbc_setup_hardware(void);
19void __init early_xdbc_register_console(void);
20#else
21static inline int __init early_xdbc_setup_hardware(void)
22{
23 return -ENODEV;
24}
25static inline void __init early_xdbc_register_console(void)
26{
27}
28#endif /* CONFIG_EARLY_PRINTK_USB_XDBC */
29#endif /* __LINUX_XHCI_DBGP_H */