]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/arm/mach-omap1/lcd_dma.c
omap1: Add initcall checks for omap1 and booted board
[mv-sheeva.git] / arch / arm / mach-omap1 / lcd_dma.c
index 3be11af687bb26652be53303b17d7d5265568e03..c9088d85da0464520c328733b39107795c9e0fbc 100644 (file)
@@ -424,6 +424,9 @@ static int __init omap_init_lcd_dma(void)
 {
        int r;
 
+       if (!cpu_class_is_omap1())
+               return -ENODEV;
+
        if (cpu_is_omap16xx()) {
                u16 w;