commit | c73b0ad36ea316e71b5b599228c9d5906045c235 | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <vladimir.oltean@nxp.com> | Sat Jun 20 18:43:47 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sat Jun 20 17:25:23 2020 -0700 |
tree | 401f1428d1f3a0c525116e0675095ecf443fa25c | |
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>