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

Kumar Gala galak at kernel.crashing.org
Thu Dec 4 02:50:38 EST 2008


On Nov 11, 2008, at 9:31 AM, Anton Vorontsov 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>
> ---
>
> This is for powerpc-next since nobody enables QE_USB yet.
>
> arch/powerpc/sysdev/qe_lib/qe.c  |    3 +++
> arch/powerpc/sysdev/qe_lib/ucc.c |    4 +---
> 2 files changed, 4 insertions(+), 3 deletions(-)

applied to next.

- k



More information about the Linuxppc-dev mailing list