powerpc/qe&cpm: Implement static inline stubs for non-QE/CPM builds
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Mon, 12 Oct 2009 16:49:20 +0000 (20:49 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 12 Nov 2009 03:43:20 +0000 (21:43 -0600)
commit58c12bdc5d924e4bca60c2660df2a71be4953ac9
treedc8b05c49285a65352545856a97be8a5cdad27b5
parent71d94fe842c34fb93eb32ae20207bea757292b79
powerpc/qe&cpm: Implement static inline stubs for non-QE/CPM builds

This is needed to avoid ugly #ifdefs in drivers. Also update fsl_qe_udc
driver so that now it doesn't define its own versions that cause build
breakage when the generic stubs are used.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/cpm.h
arch/powerpc/include/asm/qe.h
drivers/usb/gadget/fsl_qe_udc.h