All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ACPI: Fix _PLD definition in predefined names
@ 2011-10-05 18:06 Matthew Garrett
  2011-10-05 18:06 ` [PATCH 2/2] ACPI: Add _PLD support Matthew Garrett
  2011-10-05 19:47 ` [PATCH 1/2] ACPI: Fix _PLD definition in predefined names Matthew Garrett
  0 siblings, 2 replies; 3+ messages in thread
From: Matthew Garrett @ 2011-10-05 18:06 UTC (permalink / raw)
  To: linux-acpi; +Cc: len.brown, Matthew Garrett

The acpica code flags _PLD as returning a package of buffers. The spec
defines it as returning a single buffer, and implementations match that.
Fix it up.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
---
 drivers/acpi/acpica/acpredef.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/acpica/acpredef.h b/drivers/acpi/acpica/acpredef.h
index c445cca..7328932 100644
--- a/drivers/acpi/acpica/acpredef.h
+++ b/drivers/acpi/acpica/acpredef.h
@@ -336,8 +336,7 @@ static const union acpi_predefined_info predefined_names[] =
 	{{"_PIF", 0, ACPI_RTYPE_PACKAGE}},	/* Fixed-length (3 Int),(3 Str) */
 	{{{ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 3, ACPI_RTYPE_STRING}, 3, 0}},
 
-	{{"_PLD", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Bufs) */
-			  {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_BUFFER, 0,0}, 0,0}},
+	{{"_PLD", 0, ACPI_RTYPE_BUFFER}},
 
 	{{"_PMC", 0, ACPI_RTYPE_PACKAGE}},	/* Fixed-length (11 Int),(3 Str) */
 	{{{ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 11, ACPI_RTYPE_STRING}, 3,
-- 
1.7.6.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-05 19:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-05 18:06 [PATCH 1/2] ACPI: Fix _PLD definition in predefined names Matthew Garrett
2011-10-05 18:06 ` [PATCH 2/2] ACPI: Add _PLD support Matthew Garrett
2011-10-05 19:47 ` [PATCH 1/2] ACPI: Fix _PLD definition in predefined names Matthew Garrett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.