diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-08-02 09:54:21 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-08-02 09:54:21 +0000 |
commit | e2782eae8ee17143d0506078fcf5c0a44b2302fe (patch) | |
tree | 45308fcc32ba873080939113a3dfdbae0581eb9d /target/linux/generic/files/include | |
parent | 614ca3cc9e73024b8eba81a414b34c700d8d42ca (diff) | |
download | upstream-e2782eae8ee17143d0506078fcf5c0a44b2302fe.tar.gz upstream-e2782eae8ee17143d0506078fcf5c0a44b2302fe.tar.bz2 upstream-e2782eae8ee17143d0506078fcf5c0a44b2302fe.zip |
generic: rtl836x: add hw_reset field to struct rtl8366_smi
It will be used to start/stop the switch if that is
supported by the given board.
SVN-Revision: 32943
Diffstat (limited to 'target/linux/generic/files/include')
-rw-r--r-- | target/linux/generic/files/include/linux/rtl8366.h | 2 | ||||
-rw-r--r-- | target/linux/generic/files/include/linux/rtl8367.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/generic/files/include/linux/rtl8366.h b/target/linux/generic/files/include/linux/rtl8366.h index 22ce614d40..78daed2205 100644 --- a/target/linux/generic/files/include/linux/rtl8366.h +++ b/target/linux/generic/files/include/linux/rtl8366.h @@ -29,6 +29,8 @@ struct rtl8366_initval { struct rtl8366_platform_data { unsigned gpio_sda; unsigned gpio_sck; + void (*hw_reset)(bool active); + unsigned num_initvals; struct rtl8366_initval *initvals; }; diff --git a/target/linux/generic/files/include/linux/rtl8367.h b/target/linux/generic/files/include/linux/rtl8367.h index aab553e229..470c5f3812 100644 --- a/target/linux/generic/files/include/linux/rtl8367.h +++ b/target/linux/generic/files/include/linux/rtl8367.h @@ -50,6 +50,7 @@ struct rtl8367_extif_config { struct rtl8367_platform_data { unsigned gpio_sda; unsigned gpio_sck; + void (*hw_reset)(bool active); struct rtl8367_extif_config *extif0_cfg; struct rtl8367_extif_config *extif1_cfg; |