mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
b3b984dc0b
lynx_get_mdio_device() is no longer necessary, let's remove it so the lynx PCS code is always managing the lifetime of the mdiodev. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
17 lines
433 B
C
17 lines
433 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
|
|
/* Copyright 2020 NXP
|
|
* Lynx PCS helpers
|
|
*/
|
|
|
|
#ifndef __LINUX_PCS_LYNX_H
|
|
#define __LINUX_PCS_LYNX_H
|
|
|
|
#include <linux/mdio.h>
|
|
#include <linux/phylink.h>
|
|
|
|
struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio);
|
|
struct phylink_pcs *lynx_pcs_create_mdiodev(struct mii_bus *bus, int addr);
|
|
|
|
void lynx_pcs_destroy(struct phylink_pcs *pcs);
|
|
|
|
#endif /* __LINUX_PCS_LYNX_H */
|