aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/include
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-01-26 20:35:46 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-01-26 20:35:46 +0000
commit4f1f672d9e5c0fb26f3d54f31ae76b93580efcc0 (patch)
treee95b13fd719d6b3c1697d19058ce8f9615d3f79e /target/linux/generic/files/include
parent800fbf32d209a6009e30aedf2fca87b8e70fb875 (diff)
downloadupstream-4f1f672d9e5c0fb26f3d54f31ae76b93580efcc0.tar.gz
upstream-4f1f672d9e5c0fb26f3d54f31ae76b93580efcc0.tar.bz2
upstream-4f1f672d9e5c0fb26f3d54f31ae76b93580efcc0.zip
generic: rtl8366s: allow initial register values to be passed via platform_data
SVN-Revision: 25120
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 */