mmc: rtsx_pci: Enable MMC_CAP_ERASE to allow erase/discard/trim requests
[linux/fpc-iii.git] / drivers / usb / dwc2 / debug.h
blob12dbd1daec8717b678fdbeb80478e34c2cd327dc
1 /**
2 * debug.h - Designware USB2 DRD controller debug header
4 * Copyright (C) 2015 Intel Corporation
5 * Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 of
9 * the License as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
17 #include "core.h"
19 #ifdef CONFIG_DEBUG_FS
20 extern int dwc2_debugfs_init(struct dwc2_hsotg *);
21 extern void dwc2_debugfs_exit(struct dwc2_hsotg *);
22 #else
23 static inline int dwc2_debugfs_init(struct dwc2_hsotg *hsotg)
24 { return 0; }
25 static inline void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg)
26 { }
27 #endif