diff options
author | Tony Jones <tonyj@suse.de> | 2007-09-11 23:07:31 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-01 23:34:53 +0100 |
commit | 694cc2087e26f3f62b9f07c5d563564ed77ef203 (patch) | |
tree | 326a7d623aebef0f64379af1fa838adf60e9d028 /drivers/usb/host/ehci.h | |
parent | USB: convert ohci debug files to use debugfs instead of sysfs (diff) | |
download | linux-694cc2087e26f3f62b9f07c5d563564ed77ef203.tar.xz linux-694cc2087e26f3f62b9f07c5d563564ed77ef203.zip |
USB: convert ehci debug files to use debugfs instead of sysfs
We should not have multiple line files in sysfs, this moves the data to
debugfs instead, like the UHCI driver.
Signed-off-by: Tony Jones <tonyj@suse.de>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci.h')
-rw-r--r-- | drivers/usb/host/ehci.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index 951d69fec513..10e71417c352 100644 --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h @@ -127,6 +127,14 @@ struct ehci_hcd { /* one per controller */ #else # define COUNT(x) do {} while (0) #endif + + /* debug files */ +#ifdef DEBUG + struct dentry *debug_dir; + struct dentry *debug_async; + struct dentry *debug_periodic; + struct dentry *debug_registers; +#endif }; /* convert between an HCD pointer and the corresponding EHCI_HCD */ |