media: ddbridge: fix sparse warnings
authorDaniel Scheller <d.scheller@gmx.net>
Wed, 23 Aug 2017 16:10:00 +0000 (12:10 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 27 Aug 2017 10:36:34 +0000 (06:36 -0400)
commitb5967860c6dae3fd64dd87371eef97e2f2e25490
tree6f08646cc8e039074d43d57622e6713c90155d6c
parent1502efd2d5960c11593c5f002278cdc1e14c4520
media: ddbridge: fix sparse warnings

Fix several

  drivers/media/pci/ddbridge/ddbridge-core.c: warning: symbol ... was not declared. Should it be static?
  drivers/media/pci/ddbridge/ddbridge-core.c: warning: Using plain integer as NULL pointer
  drivers/media/pci/ddbridge/ddbridge-io.h: warning: cast removes address space of expression
  drivers/media/pci/ddbridge/ddbridge-io.h: warning: incorrect type in argument 1 (different address spaces)

at multiple places.

Cc: Ralph Metzler <rjkm@metzlerbros.de>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/ddbridge/ddbridge-core.c
drivers/media/pci/ddbridge/ddbridge-io.h