]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63c21886711aad13c00eb863627ffd8c800e2caf
treedc8b05c49285a65352545856a97be8a5cdad27b5
parentb89f0d600fb77692bdbdf7026708676964c11ae6
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