mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32943 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user