generic: rtl8366s: allow initial register values to be passed via platform_data
[openwrt/svn-archive/archive.git] / target / linux / generic / files / include / linux / rtl8366s.h
index 09173ec..7d5daa4 100644 (file)
 
 #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 */