From: Marek Vasut Date: Fri, 3 Sep 2010 20:35:46 +0000 (+0200) Subject: ARM: pxa: fix pxa3xx-u2d crash when ULPI not used X-Git-Tag: v2.6.37-rc1~184^2~5^2~3^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a754aea25e804d0635d1871558bee5024605ff92;p=pandora-kernel.git ARM: pxa: fix pxa3xx-u2d crash when ULPI not used In case the pxa3xx-u2d driver isn't used, probing of ohci-pxa27x will cause an ugly kernel crash (NULL pointer dereference in pxa3xx_u2d_start_hc(), because struct u2d is NULL and clk_enable() call will crash the kernel, trying to access it). Signed-off-by: Marek Vasut Signed-off-by: Eric Miao --- Reading git-diff-tree failed