summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/drivers/usb/gadget_cathy
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2013-02-06 02:59:31 +0200
committerRoman Yeryomin <roman@advem.lv>2013-02-06 02:59:31 +0200
commit691cc9529efe8ea7abaab170c452ae4470bf3ac2 (patch)
tree8d18d131720975fc63c8c2abc7bd933efe503e5f /target/linux/realtek/files/drivers/usb/gadget_cathy
parent62da0fe6152d0025e570ca41a6f9ae68df7da89b (diff)
Rebase files to rsdk 3.2 and refresh patches. Compilable (not by humans).
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/files/drivers/usb/gadget_cathy')
-rw-r--r--target/linux/realtek/files/drivers/usb/gadget_cathy/usb_ulinker.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/realtek/files/drivers/usb/gadget_cathy/usb_ulinker.h b/target/linux/realtek/files/drivers/usb/gadget_cathy/usb_ulinker.h
new file mode 100644
index 000000000..16fa3fc10
--- /dev/null
+++ b/target/linux/realtek/files/drivers/usb/gadget_cathy/usb_ulinker.h
@@ -0,0 +1,24 @@
+#ifndef __LINUX_USB_ULINKER_H
+#define __LINUX_USB_ULINKER_H
+
+#if defined(CONFIG_RTL_ULINKER)
+
+#define ULINKER_DEVINIT
+#define ULINKER_DEVINITDATA
+#define ULINKER_DEVINITCONST
+#define ULINKER_DEVEXIT
+#define ULINKER_DEVEXITDATA
+#define ULINKER_DEVEXITCONST
+
+#else
+
+#define ULINKER_DEVINIT __devinit
+#define ULINKER_DEVINITDATA __devinitdata
+#define ULINKER_DEVINITCONST __devinitconst
+#define ULINKER_DEVEXIT __devexit
+#define ULINKER_DEVEXITDATA __devexitdata
+#define ULINKER_DEVEXITCONST __devexitconst
+
+#endif
+
+#endif /* __LINUX_USB_ULINKER_H */