mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
![Greg Kroah-Hartman](/assets/img/avatar_default.png)
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Update the drivers/usb/ and include/linux/usb* files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Kate Stewart <kstewart@linuxfoundation.org> Cc: Philippe Ombredanne <pombredanne@nexb.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com> Acked-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
825 B
C
30 lines
825 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Standalone xHCI debug capability driver
|
|
*
|
|
* Copyright (C) 2016 Intel Corporation
|
|
*
|
|
* Author: Lu Baolu <baolu.lu@linux.intel.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __LINUX_XHCI_DBGP_H
|
|
#define __LINUX_XHCI_DBGP_H
|
|
|
|
#ifdef CONFIG_EARLY_PRINTK_USB_XDBC
|
|
int __init early_xdbc_parse_parameter(char *s);
|
|
int __init early_xdbc_setup_hardware(void);
|
|
void __init early_xdbc_register_console(void);
|
|
#else
|
|
static inline int __init early_xdbc_setup_hardware(void)
|
|
{
|
|
return -ENODEV;
|
|
}
|
|
static inline void __init early_xdbc_register_console(void)
|
|
{
|
|
}
|
|
#endif /* CONFIG_EARLY_PRINTK_USB_XDBC */
|
|
#endif /* __LINUX_XHCI_DBGP_H */
|