Message ID | 1342498180-3161-1-git-send-email-colin.king@canonical.com |
---|---|
State | Accepted |
Headers | show |
On 07/17/2012 12:09 PM, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > Signed-off-by: Colin Ian King <colin.king@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: Alex Hung <alex.hung@canonical.com>
On 07/17/2012 12:09 PM, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > Signed-off-by: Colin Ian King <colin.king@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@canonical.com>
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", }; /*