1. 17 4月, 2018 4 次提交
    • M
      media: cec_gpio: allow building CEC_GPIO with COMPILE_TEST · b5d9f09e
      Mauro Carvalho Chehab 提交于
      At least on i386, building with allyesconfig doesn't enable
      PREEMPT, causing cec_gpio to not build.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      b5d9f09e
    • M
      media: fsl-viu: allow building it with COMPILE_TEST · 29d75068
      Mauro Carvalho Chehab 提交于
      There aren't many things that would be needed to allow it
      to build with compile test.
      
      Add the needed bits.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      29d75068
    • M
      media: fsl-viu: mark static functions as such · adfcf2e9
      Mauro Carvalho Chehab 提交于
      There are several functions that are used only inside the
      driver. Stop exposing that to global symbolspace.
      
      Get rid of the following gcc warnings:
      
      drivers/media/platform/fsl-viu.c:240:17: warning: no previous prototype for ‘format_by_fourcc’ [-Wmissing-prototypes]
       struct viu_fmt *format_by_fourcc(int fourcc)
                       ^~~~~~~~~~~~~~~~
      drivers/media/platform/fsl-viu.c:253:6: warning: no previous prototype for ‘viu_start_dma’ [-Wmissing-prototypes]
       void viu_start_dma(struct viu_dev *dev)
            ^~~~~~~~~~~~~
      drivers/media/platform/fsl-viu.c:262:6: warning: no previous prototype for ‘viu_stop_dma’ [-Wmissing-prototypes]
       void viu_stop_dma(struct viu_dev *dev)
            ^~~~~~~~~~~~
      drivers/media/platform/fsl-viu.c:807:5: warning: no previous prototype for ‘vidioc_g_fbuf’ [-Wmissing-prototypes]
       int vidioc_g_fbuf(struct file *file, void *priv, struct v4l2_framebuffer *arg)
           ^~~~~~~~~~~~~
      drivers/media/platform/fsl-viu.c:818:5: warning: no previous prototype for ‘vidioc_s_fbuf’ [-Wmissing-prototypes]
       int vidioc_s_fbuf(struct file *file, void *priv, const struct v4l2_framebuffer *arg)
           ^~~~~~~~~~~~~
      drivers/media/platform/fsl-viu.c: In function ‘viu_open’:
      drivers/media/platform/fsl-viu.c:1170:6: warning: variable ‘status_cfg’ set but not used [-Wunused-but-set-variable]
        u32 status_cfg;
            ^~~~~~~~~~
      drivers/media/platform/fsl-viu.c: At top level:
      drivers/media/platform/fsl-viu.c:1304:6: warning: no previous prototype for ‘viu_reset’ [-Wmissing-prototypes]
       void viu_reset(struct viu_reg *reg)
            ^~~~~~~~~
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      adfcf2e9
    • M
      media: omap3isp/isp: remove an unused static var · 3f4836be
      Mauro Carvalho Chehab 提交于
      The isp_xclk_init_data const data isn't used anywere.
      
      drivers/media/platform/omap3isp/isp.c:294:35: warning: ‘isp_xclk_init_data’ defined but not used [-Wunused-const-variable=]
       static const struct clk_init_data isp_xclk_init_data = {
                                         ^~~~~~~~~~~~~~~~~~
      
      Fixes: 9b28ee3c ("[media] omap3isp: Use the common clock framework")
      Reviewed-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      3f4836be
  2. 13 4月, 2018 8 次提交
  3. 12 4月, 2018 28 次提交