]> err.no Git - linux-2.6/blobdiff - arch/arm/mach-pxa/pxa27x.c
[ARM] 5075/1: i2c-pxa: move i2c pin setup and PCFR_PI2CEN handling into arch/arm...
[linux-2.6] / arch / arm / mach-pxa / pxa27x.c
index 7e945836e12924e9e4a5b89a4edd3331f339710a..48cbdc771a808b246305997babac8abe71981ee5 100644 (file)
@@ -349,11 +349,14 @@ struct platform_device pxa27x_device_i2c_power = {
 
 void __init pxa_set_i2c_power_info(struct i2c_pxa_platform_data *info)
 {
+       local_irq_disable();
+       PCFR |= PCFR_PI2CEN;
+       local_irq_enable();
        pxa27x_device_i2c_power.dev.platform_data = info;
 }
 
 static struct platform_device *devices[] __initdata = {
-       &pxa_device_udc,
+/*     &pxa_device_udc,        The UDC driver is PXA25x only */
        &pxa_device_ffuart,
        &pxa_device_btuart,
        &pxa_device_stuart,