Freescale fec.c driver breakage
Sascha Hauer
s.hauer at pengutronix.de
Mon Jun 4 04:19:37 EDT 2012
Hi Greg,
On Mon, Jun 04, 2012 at 02:42:28PM +1000, Greg Ungerer wrote:
>
> Hi Sascha,
>
> Commit f4d40de39a23f0c39cca55ac63e1175c69c3d2f7 ("net fec: do not
> depend on grouped clocks") breaks compilation of the FEC driver for
> non iMX platforms in linux-3.5-rc1. For example when compiling for
> ColdFire I get:
>
> LD vmlinux
> drivers/built-in.o: In function `fec_probe':
> fec.c:(.devinit.text+0x1e0): undefined reference to `devm_clk_get'
Sorry, I forgot that this driver is used on coldfire.
>
> Trivially we could conditionalize the code block that calls
> devm_clk_get() in the probe routine, but that is kind of ugly.
It's ugly, but the only other solution I see is that you could provide a
dummy devm_clk_get() for coldfire. Added Mark to Cc, maybe he has
another idea?
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the linux-arm-kernel
mailing list