提交 4b2fe7e2 编写于 作者: H Henrique de Moraes Holschuh 提交者: Len Brown

ACPI: thinkpad-acpi: make room for more features in tp_features bitfield

Increase tp_features to 32 bits.  It is too close to running out of room.
Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 b7e113dc
...@@ -233,22 +233,22 @@ struct ibm_init_struct { ...@@ -233,22 +233,22 @@ struct ibm_init_struct {
static struct { static struct {
#ifdef CONFIG_THINKPAD_ACPI_BAY #ifdef CONFIG_THINKPAD_ACPI_BAY
u16 bay_status:1; u32 bay_status:1;
u16 bay_eject:1; u32 bay_eject:1;
u16 bay_status2:1; u32 bay_status2:1;
u16 bay_eject2:1; u32 bay_eject2:1;
#endif #endif
u16 bluetooth:1; u32 bluetooth:1;
u16 hotkey:1; u32 hotkey:1;
u16 hotkey_mask:1; u32 hotkey_mask:1;
u16 hotkey_wlsw:1; u32 hotkey_wlsw:1;
u16 light:1; u32 light:1;
u16 light_status:1; u32 light_status:1;
u16 wan:1; u32 wan:1;
u16 fan_ctrl_status_undef:1; u32 fan_ctrl_status_undef:1;
u16 input_device_registered:1; u32 input_device_registered:1;
u16 platform_drv_registered:1; u32 platform_drv_registered:1;
u16 platform_drv_attrs_registered:1; u32 platform_drv_attrs_registered:1;
} tp_features; } tp_features;
struct thinkpad_id_data { struct thinkpad_id_data {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册