提交 f35a8efe 编写于 作者: M Mario Limonciello 提交者: Darren Hart (VMware)

platform/x86: dell-smbios: Prefix class/select with cmd_

Later on these structures will be brought up to userspace.
the word "class" is a reserved word in c++ and this will prevent
uapi headers from being included directly in c++ programs.

To make life easier on these applications, prepare the change now.
Signed-off-by: NMario Limonciello <mario.limonciello@dell.com>
Reviewed-by: NEdward O'Callaghan <quasisec@google.com>
Signed-off-by: NDarren Hart (VMware) <dvhart@infradead.org>
上级 455e027f
无相关合并请求
......@@ -86,8 +86,8 @@ void dell_smbios_send_request(int class, int select)
command.ebx = virt_to_phys(buffer);
command.ecx = 0x42534931;
buffer->class = class;
buffer->select = select;
buffer->cmd_class = class;
buffer->cmd_select = select;
dcdbas_smi_request(&command);
}
......
......@@ -22,8 +22,8 @@ struct notifier_block;
* system management mode, hence the volatiles */
struct calling_interface_buffer {
u16 class;
u16 select;
u16 cmd_class;
u16 cmd_select;
volatile u32 input[4];
volatile u32 output[4];
} __packed;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部