From: Marc Kleine-Budde Date: Fri, 29 Oct 2010 09:04:49 +0000 (+0200) Subject: USB: Fix FSL USB driver on non Open Firmware systems X-Git-Tag: v2.6.37-rc2~23^2~11 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=018b97d084db483096421f95dfdf6c00e7144d67;p=pandora-kernel.git USB: Fix FSL USB driver on non Open Firmware systems Commit 126512e3f274802ca65ebeca8660237f0361ad48 added support for FSL's USB controller on powerpc. In this commit the Open Firmware code was selected and compiled unconditionally. This breaks on ARM systems from FSL which use the same driver (.i.e. the i.MX series), because ARM don't have OF support (yet). This patch fixes the problem by only selecting the OF code on systems with Open Firmware support. Reported-by: Uwe Kleine-König Signed-off-by: Marc Kleine-Budde Compile-Tested-by: Uwe Kleine-König Acked-by: Grant Likely Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed