Browse Source

[media] cx23885-dvb: initialize a8293_pdata

As reported by smatch:
	drivers/media/pci/cx23885/cx23885-dvb.c:2174 dvb_register() info: 'a8293_pdata' is not actually initialized (unreached code).

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Mauro Carvalho Chehab 9 years ago
parent
commit
aee5f29e5a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/pci/cx23885/cx23885-dvb.c

+ 1 - 1
drivers/media/pci/cx23885/cx23885-dvb.c

@@ -2171,7 +2171,7 @@ static int dvb_register(struct cx23885_tsport *port)
 	case CX23885_BOARD_HAUPPAUGE_HVR5525:
 		switch (port->nr) {
 		struct m88rs6000t_config m88rs6000t_config;
-		struct a8293_platform_data a8293_pdata = {};
+		struct a8293_platform_data a8293_pdata = { 0 };
 
 		/* port b - satellite */
 		case 1: