From 684c19e0d95f4640998a358a34226115a34b5eea Mon Sep 17 00:00:00 2001 From: Tony Jones Date: Tue, 11 Sep 2007 14:07:31 -0700 Subject: 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 Cc: Kay Sievers Cc: David Brownell Signed-off-by: Greg Kroah-Hartman --- drivers/usb/host/ohci.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/usb/host/ohci.h') diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h index 47c5c66a282..dc544ddc784 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 -- cgit v1.2.3