@@ -560,25 +560,28 @@ struct acpi_field_info {
560560 u8 descriptor_type; /* To differentiate various internal objs */ \
561561 u8 flags ; \
562562 u16 value ; \
563- u16 state ;
563+ u16 state
564564
565565 /* There are 2 bytes available here until the next natural alignment boundary */
566566
567567struct acpi_common_state {
568- ACPI_STATE_COMMON };
568+ ACPI_STATE_COMMON ;
569+ };
569570
570571/*
571572 * Update state - used to traverse complex objects such as packages
572573 */
573574struct acpi_update_state {
574- ACPI_STATE_COMMON union acpi_operand_object * object ;
575+ ACPI_STATE_COMMON ;
576+ union acpi_operand_object * object ;
575577};
576578
577579/*
578580 * Pkg state - used to traverse nested package structures
579581 */
580582struct acpi_pkg_state {
581- ACPI_STATE_COMMON u32 index ;
583+ ACPI_STATE_COMMON ;
584+ u32 index ;
582585 union acpi_operand_object * source_object ;
583586 union acpi_operand_object * dest_object ;
584587 struct acpi_walk_state * walk_state ;
@@ -591,7 +594,8 @@ struct acpi_pkg_state {
591594 * Allows nesting of these constructs
592595 */
593596struct acpi_control_state {
594- ACPI_STATE_COMMON u16 opcode ;
597+ ACPI_STATE_COMMON ;
598+ u16 opcode ;
595599 union acpi_parse_object * predicate_op ;
596600 u8 * aml_predicate_start ; /* Start of if/while predicate */
597601 u8 * package_end ; /* End of if/while block */
@@ -602,11 +606,13 @@ struct acpi_control_state {
602606 * Scope state - current scope during namespace lookups
603607 */
604608struct acpi_scope_state {
605- ACPI_STATE_COMMON struct acpi_namespace_node * node ;
609+ ACPI_STATE_COMMON ;
610+ struct acpi_namespace_node * node ;
606611};
607612
608613struct acpi_pscope_state {
609- ACPI_STATE_COMMON u32 arg_count ; /* Number of fixed arguments */
614+ ACPI_STATE_COMMON ;
615+ u32 arg_count ; /* Number of fixed arguments */
610616 union acpi_parse_object * op ; /* Current op being parsed */
611617 u8 * arg_end ; /* Current argument end */
612618 u8 * pkg_end ; /* Current package end */
@@ -618,7 +624,8 @@ struct acpi_pscope_state {
618624 * states are created when there are nested control methods executing.
619625 */
620626struct acpi_thread_state {
621- ACPI_STATE_COMMON u8 current_sync_level ; /* Mutex Sync (nested acquire) level */
627+ ACPI_STATE_COMMON ;
628+ u8 current_sync_level ; /* Mutex Sync (nested acquire) level */
622629 struct acpi_walk_state * walk_state_list ; /* Head of list of walk_states for this thread */
623630 union acpi_operand_object * acquired_mutex_list ; /* List of all currently acquired mutexes */
624631 acpi_thread_id thread_id ; /* Running thread ID */
@@ -629,8 +636,8 @@ struct acpi_thread_state {
629636 * AML arguments
630637 */
631638struct acpi_result_values {
632- ACPI_STATE_COMMON
633- union acpi_operand_object * obj_desc [ACPI_RESULTS_FRAME_OBJ_NUM ];
639+ ACPI_STATE_COMMON ;
640+ union acpi_operand_object * obj_desc [ACPI_RESULTS_FRAME_OBJ_NUM ];
634641};
635642
636643typedef
@@ -652,7 +659,8 @@ struct acpi_global_notify_handler {
652659 * handler/dispatcher.
653660 */
654661struct acpi_notify_info {
655- ACPI_STATE_COMMON u8 handler_list_id ;
662+ ACPI_STATE_COMMON ;
663+ u8 handler_list_id ;
656664 struct acpi_namespace_node * node ;
657665 union acpi_operand_object * handler_list_head ;
658666 struct acpi_global_notify_handler * global ;
0 commit comments