V4L/DVB (13957): IR: Fix sysfs attributes declaration
authorFrancesco Lavra <francescolavra@interfree.it>
Tue, 29 Dec 2009 18:48:04 +0000 (15:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:34 +0000 (15:10 -0300)
commit9714d587f138c1034b8fbeb14573e5f0320a2367
tree96ac424b234d69e18313e1d262f04aa1040fa825
parent211635654cb6785a5c102af6488f6b1d83b9a3c6
V4L/DVB (13957): IR: Fix sysfs attributes declaration

This patch fixes the declaration of the sysfs attributes for IR's, which
must be a NULL-terminated array of struct attribute *.
Without this patch, my machine crashes when inserting a DVB card.

Signed-off-by: Francesco Lavra <francescolavra@interfree.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/ir-sysfs.c