mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
5fd54ace47
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>
29 lines
948 B
C
29 lines
948 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/**
|
|
* debug.h - Designware USB2 DRD controller debug header
|
|
*
|
|
* Copyright (C) 2015 Intel Corporation
|
|
* Mian Yousaf Kaukab <yousaf.kaukab@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 of
|
|
* the License as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#include "core.h"
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
int dwc2_debugfs_init(struct dwc2_hsotg *hsotg);
|
|
void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg);
|
|
#else
|
|
static inline int dwc2_debugfs_init(struct dwc2_hsotg *hsotg)
|
|
{ return 0; }
|
|
static inline void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg)
|
|
{ }
|
|
#endif
|