IR: Fix sysfs attributes declaration
PATCH 1/1 IR: Fix sysfs attributes declaration
Hi,
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. I'm using a 2.6.32 kernel.
Regards,
Francesco
Signed-off-by Francesco Lavra <[email protected]>
linux/drivers/media/IR/ir-sysfs.c +1 -0
@@ -127,6 +127,7 @@ static DEVICE_ATTR(current_protocol, S_Istatic struct attribute *ir_dev_attrs[] = { &dev_attr_current_protocol.attr, +NULL , };/**