From a754aea25e804d0635d1871558bee5024605ff92 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 3 Sep 2010 22:35:46 +0200 Subject: [PATCH] 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-format-patch failed