diff options
author | Vladimir Oltean | 2019-06-02 23:11:53 +0200 |
---|---|---|
committer | David S. Miller | 2019-06-04 20:49:19 +0200 |
commit | 31b31120d7b0ceede56971f8541d46af4d148e5b (patch) | |
tree | 10c3b1bd9b712466eaaa79c5a339efda99642677 /drivers/net/dsa/sja1105/sja1105_dynamic_config.h | |
parent | Merge branch 'r8169-make-firmware-handling-code-ready-to-be-factored-out' (diff) | |
download | kernel-qcow2-linux-31b31120d7b0ceede56971f8541d46af4d148e5b.tar.gz kernel-qcow2-linux-31b31120d7b0ceede56971f8541d46af4d148e5b.tar.xz kernel-qcow2-linux-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.h | 8 |
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 |