aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/sja1105/sja1105_dynamic_config.h
diff options
context:
space:
mode:
authorVladimir Oltean <olteanv@gmail.com>2019-06-03 00:11:53 +0300
committerDavid S. Miller <davem@davemloft.net>2019-06-04 11:49:19 -0700
commit31b31120d7b0ceede56971f8541d46af4d148e5b (patch)
tree10c3b1bd9b712466eaaa79c5a339efda99642677 /drivers/net/dsa/sja1105/sja1105_dynamic_config.h
parentMerge branch 'r8169-make-firmware-handling-code-ready-to-be-factored-out' (diff)
downloadlinux-dev-31b31120d7b0ceede56971f8541d46af4d148e5b.tar.xz
linux-dev-31b31120d7b0ceede56971f8541d46af4d148e5b.zip
net: dsa: sja1105: Shim declaration of struct sja1105_dyn_cmd
This structure is merely an implementation detail and should be hidden from the sja1105_dynamic_config.h header, which provides to the rest of the driver an abstract access to the dynamic configuration interface of the switch. Signed-off-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105_dynamic_config.h')
-rw-r--r--drivers/net/dsa/sja1105/sja1105_dynamic_config.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/net/dsa/sja1105/sja1105_dynamic_config.h b/drivers/net/dsa/sja1105/sja1105_dynamic_config.h
index 77be59546a55..49c611eb02cb 100644
--- a/drivers/net/dsa/sja1105/sja1105_dynamic_config.h
+++ b/drivers/net/dsa/sja1105/sja1105_dynamic_config.h
@@ -7,13 +7,7 @@
#include "sja1105.h"
#include <linux/packing.h>
-struct sja1105_dyn_cmd {
- u64 valid;
- u64 rdwrset;
- u64 errors;
- u64 valident;
- u64 index;
-};
+struct sja1105_dyn_cmd;
struct sja1105_dynamic_table_ops {
/* This returns size_t just to keep same prototype as the