summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files/include/linux/rtl8366rb.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic-2.6/files/include/linux/rtl8366rb.h')
-rw-r--r--target/linux/generic-2.6/files/include/linux/rtl8366rb.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/files/include/linux/rtl8366rb.h b/target/linux/generic-2.6/files/include/linux/rtl8366rb.h
new file mode 100644
index 000000000..053e2ec04
--- /dev/null
+++ b/target/linux/generic-2.6/files/include/linux/rtl8366rb.h
@@ -0,0 +1,21 @@
+/*
+ * Platform data definition for the Realtek RTL8366S ethernet switch driver
+ *
+ * Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
+ * by the Free Software Foundation.
+ */
+
+#ifndef _RTL8366RB_H
+#define _RTL8366RB_H
+
+#define RTL8366RB_DRIVER_NAME "rtl8366rb"
+
+struct rtl8366rb_platform_data {
+ unsigned gpio_sda;
+ unsigned gpio_sck;
+};
+
+#endif /* _RTL8366RB_SMI_H */