aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/include
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/files/include')
-rw-r--r--target/linux/generic/files/include/linux/rtl8366s.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/generic/files/include/linux/rtl8366s.h b/target/linux/generic/files/include/linux/rtl8366s.h
index 09173ec200..7d5daa4817 100644
--- a/target/linux/generic/files/include/linux/rtl8366s.h
+++ b/target/linux/generic/files/include/linux/rtl8366s.h
@@ -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 */