]> err.no Git - linux-2.6/commit
hwmon/hdaps: Move the DMI detection data to .data
authorJean Delvare <khali@linux-fr.org>
Tue, 12 Dec 2006 17:18:28 +0000 (18:18 +0100)
committerJean Delvare <khali@arrakis.delvare>
Tue, 12 Dec 2006 17:18:28 +0000 (18:18 +0100)
commit509a5e85c3a8f0a81c916fac4579b6d1b5ea58da
treed15ee83a0a5fdfd534b3d2cdc1e708b54c2a4da2
parent3d7f9a8697ffe76e9edaf6b1751f2a2db660e4d5
hwmon/hdaps: Move the DMI detection data to .data

Move the DMI detection data from .text to .data. We really don't want
that amount of data on the stack.

Also refactor the macros used to generate the detection data, the
vendor becomes a parameter.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Robert Love <rlove@rlove.org>
drivers/hwmon/hdaps.c