1. 28 10月, 2012 1 次提交
    • M
      [media] mantis: get rid of warning: no previous prototype · 6860f9ca
      Mauro Carvalho Chehab 提交于
      drivers/media/pci/mantis/mantis_input.c:107:5: warning: no previous prototype for 'mantis_input_init' [-Wmissing-prototypes]
      drivers/media/pci/mantis/mantis_input.c:153:5: warning: no previous prototype for 'mantis_exit' [-Wmissing-prototypes]
      drivers/media/pci/mantis/mantis_uart.c:64:5: warning: no previous prototype for 'mantis_uart_read' [-Wmissing-prototypes]
      drivers/media/pci/mantis/mantis_vp1033.c:118:5: warning: no previous prototype for 'lgtdqcs001f_set_symbol_rate' [-Wmissing-prototypes]
      drivers/media/pci/mantis/mantis_vp1033.c:86:5: warning: no previous prototype for 'lgtdqcs001f_tuner_set' [-Wmissing-prototypes]
      
      Note: there is already a mantis_exit at the mantis driver. So,
      this should be renamed to mantis_input_exit.
      
      The mantis_input code is currently unused, as it doesn't implement the RC API
      right.
      
      Patches for it are sent for discussions, but were never
      accepted. So, while this is not fixed, the entire code inside
      mantis_input can simply be commented.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      6860f9ca
  2. 14 8月, 2012 1 次提交
  3. 22 6月, 2011 1 次提交
    • A
      net: remove mm.h inclusion from netdevice.h · b7f080cf
      Alexey Dobriyan 提交于
      Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually).
      
      To prevent mm.h inclusion via other channels also extract "enum dma_data_direction"
      definition into separate header. This tiny piece is what gluing netdevice.h with mm.h
      via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
      Removal of mm.h from scatterlist.h was tried and was found not feasible
      on most archs, so the link was cutoff earlier.
      
      Hope people are OK with tiny include file.
      
      Note, that mm_types.h is still dragged in, but it is a separate story.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b7f080cf
  4. 31 3月, 2011 1 次提交
  5. 24 12月, 2010 1 次提交
    • T
      dvb: don't use flush_scheduled_work() · 0d9c76ae
      Tejun Heo 提交于
      flush_scheduled_work() is deprecated and scheduled to be removed.
      
      * Flush the used works directly.
      
      * Replace the deprecated cancel_rearming_delayed_work() +
        flush_scheduled_work() -> cancel_delayed_work_sync().
      
      * Make sure mantis->uart_work isn't running on exit.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: linux-media@vger.kernel.org
      0d9c76ae
  6. 17 1月, 2010 4 次提交