]> git.sur5r.net Git - u-boot/blobdiff - drivers/video/mx3fb.c
env: Rename getenv/_f() to env_get()
[u-boot] / drivers / video / mx3fb.c
index aa4cc433b908a842abb11a9c96cfc4abc8270fff..78e595ea4a27460033200fb328dd8a55305a8718 100644 (file)
@@ -12,7 +12,7 @@
 
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/clock.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
 #include <asm/io.h>
 
 #include "videomodes.h"
@@ -816,7 +816,7 @@ void *video_hw_init(void)
 
        videomode = CONFIG_SYS_DEFAULT_VIDEO_MODE;
        /* get video mode via environment */
-       penv = getenv("videomode");
+       penv = env_get("videomode");
        if (penv) {
                /* decide if it is a string */
                if (penv[0] <= '9') {
@@ -904,12 +904,3 @@ void *video_hw_init(void)
 
        return (void *) &panel;
 }
-
-void video_set_lut(unsigned int index, /* color number */
-                   unsigned char r,    /* red */
-                   unsigned char g,    /* green */
-                   unsigned char b     /* blue */
-                   )
-{
-       return;
-}