···348348{349349 int i, ret = 0;350350351351- /* Only add HWUART for PXA255/26x; PXA210/250/27x do not have it. */352352- if (cpu_is_pxa255())353353- clks_register(&pxa25x_hwuart_clk, 1);354354-355351 if (cpu_is_pxa21x() || cpu_is_pxa25x()) {356352357353 reset_status = RCSR;···371375 return ret;372376 }373377374374- /* Only add HWUART for PXA255/26x; PXA210/250/27x do not have it. */375375- if (cpu_is_pxa255())378378+ /* Only add HWUART for PXA255/26x; PXA210/250 do not have it. */379379+ if (cpu_is_pxa255()) {380380+ clks_register(&pxa25x_hwuart_clk, 1);376381 ret = platform_device_register(&pxa_device_hwuart);382382+ }377383378384 return ret;379385}