Commit c4efe416 authored by Andy Grover's avatar Andy Grover

ACPI: changed code for new ACPI_ prefixes on constants

parent 5a07b58d
...@@ -124,8 +124,8 @@ acpi_pci_bind ( ...@@ -124,8 +124,8 @@ acpi_pci_bind (
acpi_status status = AE_OK; acpi_status status = AE_OK;
struct acpi_pci_data *data = NULL; struct acpi_pci_data *data = NULL;
struct acpi_pci_data *pdata = NULL; struct acpi_pci_data *pdata = NULL;
char pathname[PATHNAME_MAX] = {0}; char pathname[ACPI_PATHNAME_MAX] = {0};
acpi_buffer buffer = {PATHNAME_MAX, pathname}; acpi_buffer buffer = {ACPI_PATHNAME_MAX, pathname};
acpi_handle handle = NULL; acpi_handle handle = NULL;
ACPI_FUNCTION_TRACE("acpi_pci_bind"); ACPI_FUNCTION_TRACE("acpi_pci_bind");
...@@ -267,8 +267,8 @@ acpi_pci_bind_root ( ...@@ -267,8 +267,8 @@ acpi_pci_bind_root (
int result = 0; int result = 0;
acpi_status status = AE_OK; acpi_status status = AE_OK;
struct acpi_pci_data *data = NULL; struct acpi_pci_data *data = NULL;
char pathname[PATHNAME_MAX] = {0}; char pathname[ACPI_PATHNAME_MAX] = {0};
acpi_buffer buffer = {PATHNAME_MAX, pathname}; acpi_buffer buffer = {ACPI_PATHNAME_MAX, pathname};
ACPI_FUNCTION_TRACE("acpi_pci_bind_root"); ACPI_FUNCTION_TRACE("acpi_pci_bind_root");
......
...@@ -158,7 +158,7 @@ acpi_pci_irq_add_prt ( ...@@ -158,7 +158,7 @@ acpi_pci_irq_add_prt (
int bus) int bus)
{ {
acpi_status status = AE_OK; acpi_status status = AE_OK;
char pathname[PATHNAME_MAX] = {0}; char pathname[ACPI_PATHNAME_MAX] = {0};
acpi_buffer buffer = {0, NULL}; acpi_buffer buffer = {0, NULL};
acpi_pci_routing_table *prt = NULL; acpi_pci_routing_table *prt = NULL;
acpi_pci_routing_table *entry = NULL; acpi_pci_routing_table *entry = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment