1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

backfire: generic: rtl8366s: allow initial register values to be passed via platform_data (backport of r25120)

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25256 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2011-01-30 21:15:02 +00:00
parent d1969247b0
commit 04144c111c
2 changed files with 18 additions and 0 deletions

View File

@@ -13,9 +13,16 @@
#define RTL8366S_DRIVER_NAME "rtl8366s"
struct rtl8366s_initval {
unsigned reg;
u16 val;
};
struct rtl8366s_platform_data {
unsigned gpio_sda;
unsigned gpio_sck;
unsigned num_initvals;
struct rtl8366s_initval *initvals;
};
#endif /* _RTL8366_SMI_H */