1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 2 /* Copyright 2020 NXP 3 * Lynx PCS helpers 4 */ 5 6 #ifndef __LINUX_PCS_LYNX_H 7 #define __LINUX_PCS_LYNX_H 8 9 #include <linux/mdio.h> 10 #include <linux/phylink.h> 11 12 struct mdio_device *lynx_get_mdio_device(struct phylink_pcs *pcs); 13 14 struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio); 15 16 void lynx_pcs_destroy(struct phylink_pcs *pcs); 17 18 #endif /* __LINUX_PCS_LYNX_H */ 19