summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-01-04 21:35:08 +0300
committerDavid S. Miller <davem@davemloft.net>2018-01-04 21:35:08 +0300
commit9ef9633ae5786f1eb0de326c9736d277bda1746a (patch)
tree7331b5e3c7d77f1124e6a29af640a3e11f2ef894 /include
parent4b24dd8022801ef75f1ce322ff2f83a51900ab5b (diff)
parent589d197660e529dab0933261b402e079326815f8 (diff)
downloadlinux-9ef9633ae5786f1eb0de326c9736d277bda1746a.tar.xz
Merge branch 'dsa-lan9303-phy_addr_sel_strap-rename-and-retype'
Egil Hjelmeland says: ==================== net: dsa: lan9303: phy_addr_sel_strap rename and retype Non functional cleanups involving chip->phy_addr_sel_strap. As promised in https://lkml.org/lkml/2017/11/6/273 ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/dsa/lan9303.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dsa/lan9303.h b/include/linux/dsa/lan9303.h
index b6514c29563f..b4f22112ba75 100644
--- a/include/linux/dsa/lan9303.h
+++ b/include/linux/dsa/lan9303.h
@@ -23,7 +23,7 @@ struct lan9303 {
struct regmap_irq_chip_data *irq_data;
struct gpio_desc *reset_gpio;
u32 reset_duration; /* in [ms] */
- bool phy_addr_sel_strap;
+ int phy_addr_base;
struct dsa_switch *ds;
struct mutex indirect_mutex; /* protect indexed register access */
struct mutex alr_mutex; /* protect ALR access */