[PATCH] Update FADT preferred PM profile to add Tablet

IvanHu ivan.hu at canonical.com
Wed Jul 18 03:54:44 UTC 2012


On 07/17/2012 12:09 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>   src/lib/include/fwts_acpi.h |    2 +-
>   src/lib/src/fwts_acpi.c     |    1 +
>   2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/lib/include/fwts_acpi.h b/src/lib/include/fwts_acpi.h
> index 26bbf13..d559468 100644
> --- a/src/lib/include/fwts_acpi.h
> +++ b/src/lib/include/fwts_acpi.h
> @@ -45,7 +45,7 @@
>   extern char *fwts_acpi_fadt_preferred_pm_profile[];
>
>   #define FWTS_ACPI_FADT_PREFERRED_PM_PROFILE(x)		\
> -	((x) > 7) ? "Reserved" : fwts_acpi_fadt_preferred_pm_profile[x]
> +	((x) > 8) ? "Reserved" : fwts_acpi_fadt_preferred_pm_profile[x]
>
>   /* 5.2.3.1 Generic Address Structure */
>   typedef struct {
> diff --git a/src/lib/src/fwts_acpi.c b/src/lib/src/fwts_acpi.c
> index e014d3a..a48135a 100644
> --- a/src/lib/src/fwts_acpi.c
> +++ b/src/lib/src/fwts_acpi.c
> @@ -37,6 +37,7 @@ char *fwts_acpi_fadt_preferred_pm_profile[] = {
>   	"SOHO Server",
>   	"Appliance PC",
>   	"Performance Server",
> +	"Tablet",
>   };
>
>   /*
>


Acked-by: Ivan Hu<ivan.hu at canonical.com>



More information about the fwts-devel mailing list