mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
84e476b876
We no longer need to export lynx_pcs_create() for drivers to use as we now have all the functionality we need in the two new creation helpers. Remove the export and prototype, and make it static. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
17 lines
442 B
C
17 lines
442 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_mdiodev(struct mii_bus *bus, int addr);
|
|
struct phylink_pcs *lynx_pcs_create_fwnode(struct fwnode_handle *node);
|
|
|
|
void lynx_pcs_destroy(struct phylink_pcs *pcs);
|
|
|
|
#endif /* __LINUX_PCS_LYNX_H */
|