]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/lib/video.c
stdio: Pass device pointer to stdio methods
[u-boot] / arch / x86 / lib / video.c
index eb9c595a4e08085e73c814edfb0809c90bbb9ade..975949daa3e689495cb3146118cdd30bd649110b 100644 (file)
@@ -104,7 +104,7 @@ static void __video_putc(const char c, int *x, int *y)
        }
 }
 
-static void video_putc(const char c)
+static void video_putc(struct stdio_dev *dev, const char c)
 {
        int x, y, pos;
 
@@ -123,7 +123,7 @@ static void video_putc(const char c)
        outb_p(0xff & (pos >> 1), vidport+1);
 }
 
-static void video_puts(const char *s)
+static void video_puts(struct stdio_dev *dev, const char *s)
 {
        int x, y, pos;
        char c;