]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/qe: Move cmxgcr_lock definition from the ucc.c into the qe.c
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Tue, 11 Nov 2008 15:31:39 +0000 (18:31 +0300)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 3 Dec 2008 16:47:36 +0000 (10:47 -0600)
commit09a3fba8c132a55f153fd65fc1085b717a6193c8
tree0fd4772dfa1c1bb3dcd647885b491b5b617dea3b
parentd3a8cdab2ff2f8acbe48e18ed471b0812785e390
powerpc/qe: Move cmxgcr_lock definition from the ucc.c into the qe.c

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@ru.mvista.com>
Acked-By: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/qe_lib/qe.c
arch/powerpc/sysdev/qe_lib/ucc.c