X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fadm5120%2Fpatches-2.6.38%2F903-adm5120-usb-use-the-admhcd-structure-directly-in-debugfs-files.patch;fp=target%2Flinux%2Fadm5120%2Fpatches-2.6.38%2F903-adm5120-usb-use-the-admhcd-structure-directly-in-debugfs-files.patch;h=695cce93b10a389698ee04d6d9d0800a6524c154;hb=2257f59969a77e8146be50c94a691676d8b1cedb;hp=db6323d02f4ad03488790e505f200e241eb72e5a;hpb=3241fe6979f5f575d3f6ec40bd301a98a050c261;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/target/linux/adm5120/patches-2.6.38/903-adm5120-usb-use-the-admhcd-structure-directly-in-debugfs-files.patch b/target/linux/adm5120/patches-2.6.38/903-adm5120-usb-use-the-admhcd-structure-directly-in-debugfs-files.patch index db6323d02f..695cce93b1 100644 --- a/target/linux/adm5120/patches-2.6.38/903-adm5120-usb-use-the-admhcd-structure-directly-in-debugfs-files.patch +++ b/target/linux/adm5120/patches-2.6.38/903-adm5120-usb-use-the-admhcd-structure-directly-in-debugfs-files.patch @@ -26,7 +26,7 @@ spin_lock_irqsave(&ahcd->lock, flags); temp = show_list(ahcd, buf->page, PAGE_SIZE, ahcd->ed_head); -@@ -516,8 +512,6 @@ static ssize_t fill_async_buffer(struct +@@ -516,8 +512,6 @@ static ssize_t fill_async_buffer(struct static ssize_t fill_periodic_buffer(struct debug_buffer *buf) { @@ -35,7 +35,7 @@ struct admhcd *ahcd; struct ed **seen, *ed; unsigned long flags; -@@ -529,9 +523,7 @@ static ssize_t fill_periodic_buffer(stru +@@ -530,9 +524,7 @@ static ssize_t fill_periodic_buffer(stru return 0; seen_count = 0; @@ -46,7 +46,7 @@ next = buf->page; size = PAGE_SIZE; -@@ -613,7 +605,6 @@ static ssize_t fill_periodic_buffer(stru +@@ -615,7 +607,6 @@ static ssize_t fill_periodic_buffer(stru static ssize_t fill_registers_buffer(struct debug_buffer *buf) { @@ -54,7 +54,7 @@ struct usb_hcd *hcd; struct admhcd *ahcd; struct admhcd_regs __iomem *regs; -@@ -622,9 +613,8 @@ static ssize_t fill_registers_buffer(str +@@ -624,9 +615,8 @@ static ssize_t fill_registers_buffer(str char *next; u32 rdata; @@ -66,7 +66,7 @@ regs = ahcd->regs; next = buf->page; size = PAGE_SIZE; -@@ -689,7 +679,7 @@ done: +@@ -691,7 +681,7 @@ done: } @@ -75,7 +75,7 @@ ssize_t (*fill_func)(struct debug_buffer *)) { struct debug_buffer *buf; -@@ -697,7 +687,7 @@ static struct debug_buffer *alloc_buffer +@@ -699,7 +689,7 @@ static struct debug_buffer *alloc_buffer buf = kzalloc(sizeof(struct debug_buffer), GFP_KERNEL); if (buf) { @@ -84,7 +84,7 @@ buf->fill_func = fill_func; mutex_init(&buf->mutex); } -@@ -790,26 +780,25 @@ static int debug_registers_open(struct i +@@ -792,26 +782,25 @@ static int debug_registers_open(struct i static inline void create_debug_files(struct admhcd *ahcd) { struct usb_bus *bus = &admhcd_to_hcd(ahcd)->self;