summaryrefslogtreecommitdiff
path: root/drivers/video/mxc_ipuv3_fb.c
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-10-08 22:57:47 +0200
committerTom Rini <trini@ti.com>2014-10-25 07:27:37 -0400
commitc5fe2532acf61acdc8da459110dbf4ad56496cb1 (patch)
treeae2f8561f408ef388178cfe49116ee6088cf5061 /drivers/video/mxc_ipuv3_fb.c
parent19d7bf3d868383bf504c1dd2b4618fbf2b3dc20e (diff)
downloadu-boot-imx-c5fe2532acf61acdc8da459110dbf4ad56496cb1.zip
u-boot-imx-c5fe2532acf61acdc8da459110dbf4ad56496cb1.tar.gz
u-boot-imx-c5fe2532acf61acdc8da459110dbf4ad56496cb1.tar.bz2
video: ipu: prevent warnings with W=1
- make local functions static - remove unused is_interlaced function Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'drivers/video/mxc_ipuv3_fb.c')
-rw-r--r--drivers/video/mxc_ipuv3_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/mxc_ipuv3_fb.c b/drivers/video/mxc_ipuv3_fb.c
index b20c19c..1fa9531 100644
--- a/drivers/video/mxc_ipuv3_fb.c
+++ b/drivers/video/mxc_ipuv3_fb.c
@@ -36,7 +36,7 @@ static struct fb_videomode const *gmode;
static uint8_t gdisp;
static uint32_t gpixfmt;
-void fb_videomode_to_var(struct fb_var_screeninfo *var,
+static void fb_videomode_to_var(struct fb_var_screeninfo *var,
const struct fb_videomode *mode)
{
var->xres = mode->xres;