net: dsa: lan9303: define LAN9303_NUM_PORTS 3
Will be used instead of '3' in upcomming patches. Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
451d3ca0a0
commit
a368ca5378
|
@ -20,6 +20,8 @@
|
|||
|
||||
#include "lan9303.h"
|
||||
|
||||
#define LAN9303_NUM_PORTS 3
|
||||
|
||||
/* 13.2 System Control and Status Registers
|
||||
* Multiply register number by 4 to get address offset.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue