1. 14 1月, 2014 4 次提交
    • M
      [media] tea575x: Fix build with ARCH=c6x · eab924d0
      Mauro Carvalho Chehab 提交于
      In file included from /devel/v4l/temp/include/asm-generic/page.h:23:0,
                       from /devel/v4l/temp/arch/c6x/include/asm/page.h:9,
                       from /devel/v4l/temp/include/asm-generic/io.h:14,
                       from arch/c6x/include/generated/asm/io.h:1,
                       from /devel/v4l/temp/drivers/media/radio/tea575x.c:23:
      /devel/v4l/temp/arch/c6x/include/asm/setup.h:17:27: error: unknown type name ‘phys_addr_t’
       extern int c6x_add_memory(phys_addr_t start, unsigned long size);
      
      It seems that, on such arch, the includes from asm/ should be
      after the ones from linux/.
      
      The proper fix would be to patch the arch files, but, as
      this fix is trivial, apply it. Also, we generally put the
      asm includes after the linux ones, anyway.
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      eab924d0
    • M
      [media] dib8000: Fix a few warnings when compiled for avr32 · e4a3bc1c
      Mauro Carvalho Chehab 提交于
      	drivers/media/dvb-frontends/dib8000.c: In function 'dib8000_get_time_us':
      	drivers/media/dvb-frontends/dib8000.c:3957: warning: 'interleaving' may be used uninitialized in this function
      	drivers/media/dvb-frontends/dib8000.c:3956: warning: 'rate_denum' may be used uninitialized in this function
      
      Those are actually false positives, but it doesn't hurt cleaning them.
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      e4a3bc1c
    • M
      [media] dib8000: Properly represent long long integers · 5dc8526b
      Mauro Carvalho Chehab 提交于
      When compiling with avr32, it gets those errors:
      
      	drivers/media/dvb-frontends/dib8000.c: In function 'dib8000_get_stats':
      	drivers/media/dvb-frontends/dib8000.c:4121: warning: integer constant is too large for 'long' type
      
      Fix integer representation to avoid overflow.
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      5dc8526b
    • M
      [media] radio-usb-si4713: make si4713_register_i2c_adapter static · 6fcd3b61
      Mauro Carvalho Chehab 提交于
      This function isn't used nowhere outside the same .c file.
      Fixes this warning:
      
      drivers/media/radio/si4713/radio-usb-si4713.c:418:5: warning: no previous prototype for 'si4713_register_i2c_adapter' [-Wmissing-prototypes]
       int si4713_register_i2c_adapter(struct si4713_usb_device *radio)
           ^
      
      Cc: Hans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      6fcd3b61
  2. 13 1月, 2014 8 次提交
  3. 12 1月, 2014 10 次提交
  4. 10 1月, 2014 8 次提交
  5. 07 1月, 2014 10 次提交