V4L/DVB (11131): cx231xx: avoid trying to access unfilled dev struct
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 22 Mar 2009 08:46:36 +0000 (05:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Apr 2009 00:44:08 +0000 (21:44 -0300)
commitb905de30e300b959ea89c3af9d436e7f73e9e628
tree65865332575ec27117da784f199a35b3272178c0
parent92fcbd3f4ea07a8efd2d2881645baae0a061c82e
V4L/DVB (11131): cx231xx: avoid trying to access unfilled dev struct

cx231xxinfo needs dev->name. However, this is not declared on the time the
check for the max number of supported devices is done.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx231xx/cx231xx-cards.c