aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6xxx.h
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2016-04-17 13:24:02 -0400
committerDavid S. Miller <davem@davemloft.net>2016-04-17 18:54:15 -0400
commitcd5a2c82bad9e59f2674befc07c12effa0aea49d (patch)
treeff58463a9b3b654a19ed7e5f104bf9cbac0fc140 /drivers/net/dsa/mv88e6xxx.h
parentnet: dsa: mv88e6xxx: add number of ports to info (diff)
downloadlinux-dev-cd5a2c82bad9e59f2674befc07c12effa0aea49d.tar.xz
linux-dev-cd5a2c82bad9e59f2674befc07c12effa0aea49d.zip
net: dsa: mv88e6xxx: add number of db to info
Add the number of databases to the info structure. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx.h')
-rw-r--r--drivers/net/dsa/mv88e6xxx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx.h b/drivers/net/dsa/mv88e6xxx.h
index 801486aefe78..8eeafff27a82 100644
--- a/drivers/net/dsa/mv88e6xxx.h
+++ b/drivers/net/dsa/mv88e6xxx.h
@@ -385,6 +385,7 @@ struct mv88e6xxx_info {
enum mv88e6xxx_family family;
u16 prod_num;
const char *name;
+ unsigned int num_databases;
unsigned int num_ports;
};