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 <[EMAIL PROTECTED]>
---

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
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to