From 8e4bff4cab0ddac6060645b0715210484d02ff40 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 30 Aug 2017 08:25:59 +0000 Subject: Initial file dump from open source release --- drivers/usb/chipidea/debug.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 drivers/usb/chipidea/debug.h (limited to 'drivers/usb/chipidea/debug.h') diff --git a/drivers/usb/chipidea/debug.h b/drivers/usb/chipidea/debug.h new file mode 100644 index 00000000..7ca6ca0a --- /dev/null +++ b/drivers/usb/chipidea/debug.h @@ -0,0 +1,30 @@ +/* + * debug.h - ChipIdea USB driver debug interfaces + * + * Copyright (C) 2008 Chipidea - MIPS Technologies, Inc. All rights reserved. + * + * Author: David Lopo + * + * 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 __DRIVERS_USB_CHIPIDEA_DEBUG_H +#define __DRIVERS_USB_CHIPIDEA_DEBUG_H + +#ifdef CONFIG_USB_CHIPIDEA_DEBUG +int dbg_create_files(struct ci13xxx *ci); +void dbg_remove_files(struct ci13xxx *ci); +#else +static inline int dbg_create_files(struct ci13xxx *ci) +{ + return 0; +} + +static inline void dbg_remove_files(struct ci13xxx *ci) +{ +} +#endif + +#endif /* __DRIVERS_USB_CHIPIDEA_DEBUG_H */ -- cgit v1.3.1