PCI/ACPI: Move pcie_to_hpx3_type[] from stack to static data
authorColin Ian King <colin.king@canonical.com>
Mon, 10 Feb 2020 08:52:56 +0000 (08:52 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 10 Feb 2020 22:37:55 +0000 (16:37 -0600)
commite3cdcfcea363edadebf94576c29d33a441fd5a6f
tree8435008b62c1594636e45de6c794660a411cbc7e
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
PCI/ACPI: Move pcie_to_hpx3_type[] from stack to static data

Move pcie_to_hpx3_type[] from the stack to static data.  This reduces stack
usage and also makes the object code slightly smaller.

Link: https://lore.kernel.org/r/20200210085256.319424-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-acpi.c