From: Boris Brezillon Date: Wed, 14 Jan 2015 16:22:02 +0000 (+0100) Subject: usb: gadget: at91_udc: Rework for multi-platform kernel support X-Git-Tag: fixes-v4.0-rc1~85^2~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0bceab4e3b528e799aba8fda8d2936fcfd41f1f;p=pandora-kernel.git 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 Acked-by: Alexandre Belloni Acked-by: Felipe Balbi Signed-off-by: Nicolas Ferre --- Reading git-diff-tree failed