Kyle McMartin 31e354ee65 hwmon: (acpi_power_meter) fix lockdep spew due to non-static lock class
Similar to a30dcb4f which fixed asus_atk0110.ko, I recently received a
bug report from someone hitting the same issue in acpi_power_meter.

[   13.963168] power_meter ACPI000D:00: Found ACPI power meter.
[   13.963900] BUG: key ffff8802161f3920 not in .data!
[   13.963904] ------------[ cut here ]------------
[   13.963915] WARNING: at kernel/lockdep.c:2986
	lockdep_init_map+0x52f/0x560()

So let's fix that up for them by statically declaring the
lockdep_class_key.

Signed-off-by: Kyle McMartin <kyle@redhat.com>
Cc: stable@vger.kernel.org # 3.0+
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
2012-04-01 10:24:36 -07:00
..
2012-03-18 18:27:03 -07:00
2012-03-21 10:37:25 -07:00
2012-03-18 18:26:51 -07:00
2012-03-27 20:06:02 +02:00
2012-03-18 18:27:16 -07:00
2012-03-18 18:26:52 -07:00
2012-03-18 18:26:35 -07:00
2012-03-18 18:26:42 -07:00
2012-03-18 18:26:29 -07:00
2012-01-05 08:19:35 -08:00
2012-03-18 18:27:24 -07:00
2012-03-18 18:27:24 -07:00
2012-03-18 18:27:25 -07:00
2012-03-18 18:27:05 -07:00
2012-03-18 18:27:06 -07:00
2012-03-23 10:02:20 +01:00
2012-03-28 13:56:35 -07:00
2012-03-23 10:02:20 +01:00
2012-03-18 18:26:36 -07:00
2012-03-18 18:27:10 -07:00
2012-03-21 10:37:25 -07:00
2012-03-27 20:06:02 +02:00