From: Corey Minyard Date: Sat, 13 Dec 2014 01:06:07 +0000 (-0600) Subject: ipmi: Finish cleanup of BMC attributes X-Git-Tag: fixes-v4.0-rc1~373^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c633317a589754ff3c6e22dcb5c63f149303ec9;p=pandora-kernel.git ipmi: Finish cleanup of BMC attributes The previous cleanup of BMC attributes left a few holes, and if you run with lockdep debugging with a BMC with the proper attributes, you could get a warning. This patch removes all the unused attributes from the BMC structure, since they are all declared in the .data section now. It makes the attributes all static. It fixes the referencing of the attributes in a couple of cases that dynamically added the files depending on BMC information. Signed-off-by: Corey Minyard Cc: Huang Ying Tested-by: Alexei Starovoitov --- Reading git-diff-tree failed