diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2020-06-20 18:43:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-20 17:25:23 -0700 |
commit | c73b0ad36ea316e71b5b599228c9d5906045c235 (patch) | |
tree | 401f1428d1f3a0c525116e0675095ecf443fa25c /drivers/net/ethernet/mscc/ocelot_police.h | |
parent | aae4e500e106d2ce48d5bdb21210e36efc7460cb (diff) |
net: mscc: ocelot: unexpose ocelot_vcap_policer_{add,del}
Remove the function prototypes from ocelot_police.h and make these
functions static. We need to move them above their callers. Note that
moving the implementations to ocelot_police.c is not trivially possible
due to dependency on is2_entry_set() which is static to ocelot_vcap.c.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mscc/ocelot_police.h')
-rw-r--r-- | drivers/net/ethernet/mscc/ocelot_police.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ethernet/mscc/ocelot_police.h b/drivers/net/ethernet/mscc/ocelot_police.h index be6f2286a5cd..7adb05f71999 100644 --- a/drivers/net/ethernet/mscc/ocelot_police.h +++ b/drivers/net/ethernet/mscc/ocelot_police.h @@ -33,9 +33,4 @@ struct qos_policer_conf { int qos_policer_conf_set(struct ocelot *ocelot, int port, u32 pol_ix, struct qos_policer_conf *conf); -int ocelot_vcap_policer_add(struct ocelot *ocelot, u32 pol_ix, - struct ocelot_policer *pol); - -int ocelot_vcap_policer_del(struct ocelot *ocelot, u32 pol_ix); - #endif /* _MSCC_OCELOT_POLICE_H_ */ |