gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / drivers / net / ethernet / ti / cpsw_switchdev.h
blob04a045dba7d44a05a4349f5efb8e7fc5132a44f4
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Texas Instruments Ethernet Switch Driver
4 */
6 #ifndef DRIVERS_NET_ETHERNET_TI_CPSW_SWITCHDEV_H_
7 #define DRIVERS_NET_ETHERNET_TI_CPSW_SWITCHDEV_H_
9 #include <net/switchdev.h>
11 bool cpsw_port_dev_check(const struct net_device *dev);
12 int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw);
13 void cpsw_switchdev_unregister_notifiers(struct cpsw_common *cpsw);
15 #endif /* DRIVERS_NET_ETHERNET_TI_CPSW_SWITCHDEV_H_ */