summaryrefslogtreecommitdiffstats
path: root/include/acpi/acpi_bus.h
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2009-05-21 10:25:35 +0200
committerLen Brown <len.brown@intel.com>2009-06-13 02:50:37 +0200
commit24c5c4c2f506bf87ef2343669fb892c944c3fdde (patch)
tree4a8fb03d51487c486e2848139672a113c0064a4d /include/acpi/acpi_bus.h
parentACPI: Remove Asus P4B266 from blacklist (diff)
downloadlinux-24c5c4c2f506bf87ef2343669fb892c944c3fdde.tar.xz
linux-24c5c4c2f506bf87ef2343669fb892c944c3fdde.zip
ACPI: increase size of acpi_bus_id[]
Previously [5], now [8]. sprintf(acpi_device_bid(device), "CPU%X", cpu_id) now looks better on systems with more than 0xFF processors. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acpi_bus.h')
-rw-r--r--include/acpi/acpi_bus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index c34b11022908..0be24101a48f 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -168,7 +168,7 @@ struct acpi_device_dir {
/* Plug and Play */
-typedef char acpi_bus_id[5];
+typedef char acpi_bus_id[8];
typedef unsigned long acpi_bus_address;
typedef char acpi_hardware_id[15];
typedef char acpi_unique_id[9];