rk30:hdmi: fix hdmi crash when enable DEBUG_LOCKDEP.
authorZheng Yang <zhengyang@rock-chips.com>
Mon, 23 Apr 2012 12:29:16 +0000 (20:29 +0800)
committerZheng Yang <zhengyang@rock-chips.com>
Mon, 23 Apr 2012 12:29:16 +0000 (20:29 +0800)
drivers/video/display/display-sys.c

index 7a8c6466727bfc0262e6feff9b77b5846b45bbd6..ef8d665cb6469682a1ea4f4de073c32003adb4f6 100755 (executable)
@@ -154,7 +154,8 @@ static struct device_attribute display_attrs[] = {
        __ATTR(enable, 0664, display_show_enable, display_store_enable),
        __ATTR(connect, S_IRUGO, display_show_connect, NULL),
        __ATTR(modes, S_IRUGO, display_show_modes, NULL),
-       __ATTR(mode, 0664, display_show_mode, display_store_mode)
+       __ATTR(mode, 0664, display_show_mode, display_store_mode),
+       __ATTR_NULL
 };
 
 static int display_suspend(struct device *dev, pm_message_t state)