Skip to content

Commit

Permalink
ACPICA: Fix several warnings under gcc 4 compiler
Browse files Browse the repository at this point in the history
New compiler is pickier than older versions.
Joerg Sonnenberger. From ACPICA BZ 732.

http://www.acpica.org/bugzilla/show_bug.cgi?id=732

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Bob Moore authored and Len Brown committed Dec 30, 2008
1 parent 4a6908a commit 6de4048
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions drivers/acpi/tables/tbfadt.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
ACPI_MODULE_NAME("tbfadt")

/* Local prototypes */
static void inline
static inline void
acpi_tb_init_generic_address(struct acpi_generic_address *generic_address,
u8 byte_width, u64 address);

Expand Down Expand Up @@ -122,7 +122,7 @@ static struct acpi_fadt_info fadt_info_table[] = {
*
******************************************************************************/

static void inline
static inline void
acpi_tb_init_generic_address(struct acpi_generic_address *generic_address,
u8 byte_width, u64 address)
{
Expand Down
8 changes: 4 additions & 4 deletions include/acpi/actypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ typedef u32 acpi_physical_address;
#endif

/*
* Mescellaneous types
* Miscellaneous types
*/
typedef u32 acpi_status; /* All ACPI Exceptions */
typedef u32 acpi_name; /* 4-byte ACPI name */
Expand Down Expand Up @@ -319,7 +319,7 @@ struct uint32_struct {
#define acpi_semaphore void *

/*
* Acpi integer width. In ACPI version 1, integers are 32 bits. In ACPI
* Acpi integer width. In ACPI version 1, integers are 32 bits. In ACPI
* version 2, integers are 64 bits. Note that this pertains to the ACPI integer
* type only, not other integers used in the implementation of the ACPI CA
* subsystem.
Expand Down Expand Up @@ -414,7 +414,7 @@ typedef unsigned long long acpi_integer;
#define ACPI_NOTIFY_MAX 0x0B

/*
* Types associated with ACPI names and objects. The first group of
* Types associated with ACPI names and objects. The first group of
* values (up to ACPI_TYPE_EXTERNAL_MAX) correspond to the definition
* of the ACPI object_type() operator (See the ACPI Spec). Therefore,
* only add to the first group if the spec changes.
Expand Down Expand Up @@ -787,7 +787,7 @@ acpi_status(*acpi_exception_handler) (acpi_status aml_status,
u16 opcode,
u32 aml_offset, void *context);

/* Table Event handler (Load, load_table etc) and types */
/* Table Event handler (Load, load_table, etc.) and types */

typedef
acpi_status(*acpi_tbl_handler) (u32 event, void *table, void *context);
Expand Down

0 comments on commit 6de4048

Please sign in to comment.