]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/cbus/cbus.c
ARM: OMAP: Support for 7-bit backlight register on new Tahvo chips
[linux-2.6-omap-h63xx.git] / drivers / cbus / cbus.c
index f814eaac7c010a17e974d86254828c8b9cfd48a4..eff38be50880e9c8a3e2ee28aec88ce7c4730cd0 100644 (file)
@@ -241,6 +241,7 @@ int __init cbus_bus_init(void)
        chost->dat_gpio = cbus_config->dat_gpio;
        chost->sel_gpio = cbus_config->sel_gpio;
 
+#ifdef CONFIG_ARCH_OMAP1
        if (!OMAP_GPIO_IS_MPUIO(chost->clk_gpio) ||
            !OMAP_GPIO_IS_MPUIO(chost->dat_gpio) ||
            !OMAP_GPIO_IS_MPUIO(chost->sel_gpio)) {
@@ -248,6 +249,7 @@ int __init cbus_bus_init(void)
                ret = -ENODEV;
                goto exit1;
        }
+#endif
 
        if ((ret = omap_request_gpio(chost->clk_gpio)) < 0)
                goto exit1;