summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/drivers/usb/gadget_cathy
diff options
context:
space:
mode:
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 */