On Mon, 11 Nov 2024 18:28:32 +0530 Divya Koppera wrote:
> Add makefile support for ptp library.
>
> Signed-off-by: Divya Koppera <divya.koppera@microchip.com>
> ---
> v1 -> v2
> - No changes
> ---
> drivers/net/phy/Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile
> index 90f886844381..58a4a2953930 100644
> --- a/drivers/net/phy/Makefile
> +++ b/drivers/net/phy/Makefile
> @@ -80,6 +80,7 @@ obj-$(CONFIG_MESON_GXL_PHY) += meson-gxl.o
> obj-$(CONFIG_MICREL_KS8995MA) += spi_ks8995.o
> obj-$(CONFIG_MICREL_PHY) += micrel.o
> obj-$(CONFIG_MICROCHIP_PHY) += microchip.o
> +obj-$(CONFIG_MICROCHIP_PHYPTP) += microchip_ptp.o
> obj-$(CONFIG_MICROCHIP_T1_PHY) += microchip_t1.o
> obj-$(CONFIG_MICROCHIP_T1S_PHY) += microchip_t1s.o
> obj-$(CONFIG_MICROSEMI_PHY) += mscc/
sparse complains:
drivers/net/phy/microchip_ptp.c:615:30: warning: cast from restricted __be16