]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: gadget: at91_udc: Rework for multi-platform kernel support
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 14 Jan 2015 16:22:02 +0000 (17:22 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 15 Jan 2015 13:52:07 +0000 (14:52 +0100)
commitf0bceab4e3b528e799aba8fda8d2936fcfd41f1f
tree7093239025b63922fa6efff9f10834c9fcb8912d
parent422cde259ab62fcddcb3e50f44f761cf26982c1e
usb: gadget: at91_udc: Rework for multi-platform kernel support

cpu_is_at91xxx are a set of macros defined in mach/cpu.h and are here used
to detect the SoC we are booting on.
Use compatible string + a caps structure to replace those cpu_is_xxx tests.

Remove all mach and asm headers (which are now unused).

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/usb/gadget/udc/at91_udc.c
drivers/usb/gadget/udc/at91_udc.h