summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/asus_acpi.c
diff options
context:
space:
mode:
authorKulikov Vasiliy <segooon@gmail.com>2010-08-03 19:44:16 +0400
committerMatthew Garrett <mjg@redhat.com>2010-08-16 11:53:44 -0400
commit5629236b31239dbaa182cb7eb39aad4d62278f7c (patch)
tree7d89214f205ce5a98bca13a018f42eb308e4e345 /drivers/platform/x86/asus_acpi.c
parentda5cabf80e2433131bf0ed8993abc0f7ea618c73 (diff)
downloadtalos-obmc-linux-5629236b31239dbaa182cb7eb39aad4d62278f7c.tar.gz
talos-obmc-linux-5629236b31239dbaa182cb7eb39aad4d62278f7c.zip
x86: intel_ips: do not use PCI resources before pci_enable_device()
IRQ and resource[] may not have correct values until after PCI hotplug setup occurs at pci_enable_device() time. The semantic match that finds this problem is as follows: // <smpl> @@ identifier x; identifier request ~= "pci_request.*|pci_resource.*"; @@ ( * x->irq | * x->resource | * request(x, ...) ) ... *pci_enable_device(x) // </smpl> Signed-off-by: Kulikov Vasiliy <segooon@gmail.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86/asus_acpi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud