[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191106.102425.1829408448491863676.davem@davemloft.net>
Date: Wed, 06 Nov 2019 10:24:25 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: chenwandun@...wei.com
Cc: ruxandra.radulescu@....com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dpaa2-ptp: fix compile error
From: Chen Wandun <chenwandun@...wei.com>
Date: Tue, 5 Nov 2019 23:20:32 +0800
> From: Chenwandun <chenwandun@...wei.com>
>
> phylink_set_port_modes will be compiled if CONFIG_PHYLINK enabled,
> dpaa2_mac_validate will be compiled if CONFIG_FSL_DPAA2_ETH enabled,
> it should select CONFIG_PHYLINK when dpaa2_mac_validate call
> phylink_set_port_modes
>
> drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.o: In function `dpaa2_mac_validate':
> dpaa2-mac.c:(.text+0x3a1): undefined reference to `phylink_set_port_modes'
> drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.o: In function `dpaa2_mac_connect':
> dpaa2-mac.c:(.text+0x91a): undefined reference to `phylink_create'
> dpaa2-mac.c:(.text+0x94e): undefined reference to `phylink_of_phy_connect'
> dpaa2-mac.c:(.text+0x97f): undefined reference to `phylink_destroy'
> drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.o: In function `dpaa2_mac_disconnect':
> dpaa2-mac.c:(.text+0xa9f): undefined reference to `phylink_disconnect_phy'
> dpaa2-mac.c:(.text+0xab0): undefined reference to `phylink_destroy'
> make: *** [vmlinux] Error 1
You need to add a proper Signed-off-by: and Fixes: tag.
Powered by blists - more mailing lists