gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / drivers / net / ethernet / mscc / ocelot_tc.h
blob61757c2250a684a9a23e0048dd897828732ec562
1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
2 /* Microsemi Ocelot Switch driver
4 * Copyright (c) 2019 Microsemi Corporation
5 */
7 #ifndef _MSCC_OCELOT_TC_H_
8 #define _MSCC_OCELOT_TC_H_
10 #include <linux/netdevice.h>
12 struct ocelot_port_tc {
13 bool block_shared;
14 unsigned long offload_cnt;
16 unsigned long police_id;
19 int ocelot_setup_tc(struct net_device *dev, enum tc_setup_type type,
20 void *type_data);
22 #endif /* _MSCC_OCELOT_TC_H_ */