m68knommu: define a local devm_clk_get() function
authorGreg Ungerer <gerg@uclinux.org>
Tue, 12 Jun 2012 03:27:31 +0000 (13:27 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 24 Jun 2012 23:17:20 +0000 (09:17 +1000)
commit19a1d332cc8ca599578111b9ff8cd6963f75c387
treec7fcc4ec0722d5673e6b4654978bb3af334d1542
parent6b16351acbd415e66ba16bf7d473ece1574cf0bc
m68knommu: define a local devm_clk_get() function

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'

Define a simple devm_clk_get() function for the m68knommu architecture.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/platform/coldfire/clk.c