net: dsa: lan9303: phy_addr_sel_strap rename and retype
authorEgil Hjelmeland <privat@egil-hjelmeland.no>
Fri, 29 Dec 2017 12:38:23 +0000 (13:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jan 2018 18:35:07 +0000 (13:35 -0500)
commitb17c6b1f4538b66e9bac6710b57b343c2aafadea
treea8df3575ff39c9662298b5fd619a01f70bd00365
parent4b24dd8022801ef75f1ce322ff2f83a51900ab5b
net: dsa: lan9303: phy_addr_sel_strap rename and retype

chip->phy_addr_sel_strap is declared as a bool, but is also used as an
integer address base.

Rename 'phy_addr_sel_strap' to 'phy_addr_base', and change type to int.

Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/lan9303-core.c
include/linux/dsa/lan9303.h