[PATCH] powerpc/qe: Move cmxgcr_lock definition from the ucc.c into the qe.c

Timur Tabi timur at freescale.com
Wed Nov 12 04:11:18 EST 2008


On Tue, Nov 11, 2008 at 9:31 AM, Anton Vorontsov
<avorontsov at ru.mvista.com> wrote:
> With this patch we can compile the qe_lib/usb.c without the UCC
> support (that is, without UCC_GETH and/or SERIAL_QE).
>
> Fixes following link error (CONFIG_SMP should be =y to trigger this):
>
> arch/powerpc/sysdev/built-in.o: In function `qe_usb_clock_set':
> (.text+0x3cae): undefined reference to `cmxgcr_lock'
> make: *** [.tmp_vmlinux1] Error 1
>
> While at it, also add missing spinlock.h includes.
>
> Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>

Acked-By: Timur Tabi <timur at freescale.com>

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the Linuxppc-dev mailing list