]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/thermal/thermal_sys.c: fix 'key f70f4b50 not in .data' in thermal_sys
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Tue, 6 Apr 2010 21:34:51 +0000 (14:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Apr 2010 15:38:03 +0000 (08:38 -0700)
commita5f9d8699b4551810905a405cd7f72a169124e95
tree8355328258d13e7e0182cc24a241b42b3f1e528c
parent8192f86c6c4b5eb65334ac465f1733ad91b5ef7c
drivers/thermal/thermal_sys.c: fix 'key f70f4b50 not in .data' in thermal_sys

Initialize sysfs attributes before device_create_file call.

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=15548

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Greg KH <gregkh@suse.de>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Len Brown <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/thermal/thermal_sys.c