Skip to content

Commit

Permalink
[ACPI] CONFIG_ACPI=n build fix
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Andrew Morton authored and Len Brown committed Aug 5, 2005
1 parent 14454a1 commit 53de49f
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions include/linux/acpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -420,16 +420,6 @@ extern int sbf_port ;

#define acpi_mp_config 0

static inline int acpi_boot_init(void)
{
return 0;
}

static inline int acpi_boot_table_init(void)
{
return 0;
}

#endif /*!CONFIG_ACPI_BOOT*/

int acpi_register_gsi (u32 gsi, int edge_level, int active_high_low);
Expand Down Expand Up @@ -536,5 +526,17 @@ static inline int acpi_get_pxm(acpi_handle handle)

extern int pnpacpi_disabled;

#else /* CONFIG_ACPI */

static inline int acpi_boot_init(void)
{
return 0;
}

static inline int acpi_boot_table_init(void)
{
return 0;
}

#endif /* CONFIG_ACPI */
#endif /*_LINUX_ACPI_H*/

0 comments on commit 53de49f

Please sign in to comment.