]> git.sur5r.net Git - u-boot/commitdiff
stdio_dev.h: Drop the video section as it is unused
authorTom Rini <trini@konsulko.com>
Thu, 3 May 2018 13:12:25 +0000 (09:12 -0400)
committerTom Rini <trini@konsulko.com>
Sun, 6 May 2018 17:34:37 +0000 (13:34 -0400)
With tighter build flags the fact that this header referenced
uchar/ushort without including what typedefs it causes an error.  Rather
than add another include here, drop the section in question as it is
unused.

Reported-by: Peter Robinson <pbrobinson@gmail.com>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
include/stdio_dev.h

index 3164fa2a557960482b0fd5d4a4ba5e2ba08f5318..1ea8bff47babd751fd9b9f27511df5d9829c0174 100644 (file)
@@ -48,24 +48,6 @@ struct stdio_dev {
        struct list_head list;
 };
 
-/*
- * VIDEO EXTENSIONS
- */
-#define VIDEO_FORMAT_RGB_INDEXED       0x0000
-#define VIDEO_FORMAT_RGB_DIRECTCOLOR   0x0001
-#define VIDEO_FORMAT_YUYV_4_4_4                0x0010
-#define VIDEO_FORMAT_YUYV_4_2_2                0x0011
-
-typedef struct {
-       void *address;                  /* Address of framebuffer               */
-       ushort  width;                  /* Horizontal resolution                */
-       ushort  height;                 /* Vertical resolution                  */
-       uchar   format;                 /* Format                               */
-       uchar   colors;                 /* Colors number or color depth         */
-       void (*setcolreg) (int, int, int, int);
-       void (*getcolreg) (int, void *);
-} video_ext_t;
-
 /*
  * VARIABLES
  */