diff mbox

IR: Fix sysfs attributes declaration

Message ID 1262112484.2707.7.camel@localhost (mailing list archive)
State Accepted
Headers show

Commit Message

Francesco Lavra Dec. 29, 2009, 6:48 p.m. UTC
None
diff mbox

Patch

--- a/linux/drivers/media/IR/ir-sysfs.c	2009-12-29 19:36:04.000000000 +0100
+++ b/linux/drivers/media/IR/ir-sysfs.c	2009-12-29 19:36:49.000000000 +0100
@@ -127,6 +127,7 @@  static DEVICE_ATTR(current_protocol, S_I
 
 static struct attribute *ir_dev_attrs[] = {
 	&dev_attr_current_protocol.attr,
+	NULL,
 };
 
 /**