summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci.h
diff options
context:
space:
mode:
authorTony Jones2007-09-11 23:07:31 +0200
committerGreg Kroah-Hartman2008-02-01 23:34:52 +0100
commit684c19e0d95f4640998a358a34226115a34b5eea (patch)
tree211b48406338c1ee4ff055b95e4a8b3e5ff819db /drivers/usb/host/ohci.h
parentUSB: always announce a device has been added to the system (diff)
downloadkernel-qcow2-linux-684c19e0d95f4640998a358a34226115a34b5eea.tar.gz
kernel-qcow2-linux-684c19e0d95f4640998a358a34226115a34b5eea.tar.xz
kernel-qcow2-linux-684c19e0d95f4640998a358a34226115a34b5eea.zip
USB: convert ohci 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/ohci.h')
-rw-r--r--drivers/usb/host/ohci.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h
index 47c5c66a282c..dc544ddc7849 100644
--- a/drivers/usb/host/ohci.h
+++ b/drivers/usb/host/ohci.h
@@ -408,6 +408,13 @@ struct ohci_hcd {
unsigned eds_scheduled;
struct ed *ed_to_check;
unsigned zf_delay;
+
+#ifdef DEBUG
+ struct dentry *debug_dir;
+ struct dentry *debug_async;
+ struct dentry *debug_periodic;
+ struct dentry *debug_registers;
+#endif
};
#ifdef CONFIG_PCI