提交 634676c2 编写于 作者: A Andi Kleen 提交者: H. Peter Anvin

initconst, x86: Fix initconst mistake in ts5500 code

const data must be initconst.
Signed-off-by: NAndi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1391845930-28580-14-git-send-email-ak@linux.intel.comSigned-off-by: NH. Peter Anvin <hpa@linux.intel.com>
上级 3be5588a
...@@ -88,7 +88,7 @@ struct ts5500_sbc { ...@@ -88,7 +88,7 @@ struct ts5500_sbc {
static const struct { static const struct {
const char * const string; const char * const string;
const ssize_t offset; const ssize_t offset;
} ts5500_signatures[] __initdata = { } ts5500_signatures[] __initconst = {
{ "TS-5x00 AMD Elan", 0xb14 }, { "TS-5x00 AMD Elan", 0xb14 },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册