diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-06-06 08:54:13 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-06-06 08:54:13 +0000 |
commit | db4cd8515c1076aee2517a51e4f57c7f74ae31a5 (patch) | |
tree | 3850c221196f7f5df8896ca82297ae33a170c52a /target/linux/adm5120/patches-2.6.25/901-usb_convert_from_class_device.patch | |
parent | 4ece2e4ad1eb79a23b76b0c4a22cea873656b3f6 (diff) | |
download | mtk-20170518-db4cd8515c1076aee2517a51e4f57c7f74ae31a5.zip mtk-20170518-db4cd8515c1076aee2517a51e4f57c7f74ae31a5.tar.gz mtk-20170518-db4cd8515c1076aee2517a51e4f57c7f74ae31a5.tar.bz2 |
refresh patches to match upstream style
SVN-Revision: 11374
Diffstat (limited to 'target/linux/adm5120/patches-2.6.25/901-usb_convert_from_class_device.patch')
-rw-r--r-- | target/linux/adm5120/patches-2.6.25/901-usb_convert_from_class_device.patch | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/target/linux/adm5120/patches-2.6.25/901-usb_convert_from_class_device.patch b/target/linux/adm5120/patches-2.6.25/901-usb_convert_from_class_device.patch index 5f4d087..da868cc 100644 --- a/target/linux/adm5120/patches-2.6.25/901-usb_convert_from_class_device.patch +++ b/target/linux/adm5120/patches-2.6.25/901-usb_convert_from_class_device.patch @@ -1,8 +1,6 @@ -Index: linux-2.6.25.4/drivers/usb/host/adm5120-dbg.c -=================================================================== ---- linux-2.6.25.4.orig/drivers/usb/host/adm5120-dbg.c -+++ linux-2.6.25.4/drivers/usb/host/adm5120-dbg.c -@@ -456,7 +456,7 @@ show_list(struct admhcd *ahcd, char *buf +--- a/drivers/usb/host/adm5120-dbg.c ++++ b/drivers/usb/host/adm5120-dbg.c +@@ -456,7 +456,7 @@ } static ssize_t @@ -11,7 +9,7 @@ Index: linux-2.6.25.4/drivers/usb/host/adm5120-dbg.c { struct usb_bus *bus; struct usb_hcd *hcd; -@@ -464,7 +464,7 @@ show_async(struct class_device *class_de +@@ -464,7 +464,7 @@ size_t temp; unsigned long flags; @@ -20,7 +18,7 @@ Index: linux-2.6.25.4/drivers/usb/host/adm5120-dbg.c hcd = bus_to_hcd(bus); ahcd = hcd_to_admhcd(hcd); -@@ -475,13 +475,13 @@ show_async(struct class_device *class_de +@@ -475,13 +475,13 @@ return temp; } @@ -36,7 +34,7 @@ Index: linux-2.6.25.4/drivers/usb/host/adm5120-dbg.c { struct usb_bus *bus; struct usb_hcd *hcd; -@@ -496,7 +496,7 @@ show_periodic(struct class_device *class +@@ -496,7 +496,7 @@ return 0; seen_count = 0; @@ -45,7 +43,7 @@ Index: linux-2.6.25.4/drivers/usb/host/adm5120-dbg.c hcd = bus_to_hcd(bus); ahcd = hcd_to_admhcd(hcd); next = buf; -@@ -574,13 +574,13 @@ show_periodic(struct class_device *class +@@ -574,13 +574,13 @@ return PAGE_SIZE - size; } @@ -61,7 +59,7 @@ Index: linux-2.6.25.4/drivers/usb/host/adm5120-dbg.c { struct usb_bus *bus; struct usb_hcd *hcd; -@@ -591,7 +591,7 @@ show_registers(struct class_device *clas +@@ -591,7 +591,7 @@ char *next; u32 rdata; @@ -70,7 +68,7 @@ Index: linux-2.6.25.4/drivers/usb/host/adm5120-dbg.c hcd = bus_to_hcd(bus); ahcd = hcd_to_admhcd(hcd); regs = ahcd->regs; -@@ -656,27 +656,27 @@ done: +@@ -656,27 +656,27 @@ spin_unlock_irqrestore(&ahcd->lock, flags); return PAGE_SIZE - size; } |