]> git.sur5r.net Git - u-boot/blobdiff - board/trab/vfd.c
fsl_pci: create a SET_STD_PCI_INFO() helper wrapper
[u-boot] / board / trab / vfd.c
index eb506f39b66d1f20d56dc4144cf4fd56cf92f9bd..e5ca4abe47445e8bcf11e001c724121620fd5f4d 100644 (file)
@@ -36,7 +36,7 @@
 #include <version.h>
 #include <stdarg.h>
 #include <linux/types.h>
-#include <devices.h>
+#include <stdio_dev.h>
 #include <s3c2400.h>
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -369,7 +369,7 @@ int vfd_init_clocks (void)
        gpio->PCCON = (gpio->PCCON & 0xFFFFFF00);       /* configure GPC0...GPC3 as inputs */
        /* allow signals to settle */
        for (i=0; i<10000; i++) /* udelay isn't working yet at this point! */
-               __asm("NOP");
+               __asm__("NOP");
        vfd_board_id = (~gpio->PCDAT) & 0x000F; /* read GPC0...GPC3 port pins */
 
        VFD_DISABLE;                            /* activate blank for the vfd */