From: Kenji Kaneshige Date: Mon, 9 Feb 2009 06:59:29 +0000 (+0900) Subject: PCI/ACPI: move _OSC code to pci_root.c X-Git-Tag: v2.6.30-rc1~419^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63f10f0f6df4e4e860b790d64bebfde85b540b0a;p=pandora-kernel.git PCI/ACPI: move _OSC code to pci_root.c Move PCI _OSC management code from drivers/pci/pci-acpi.c to drivers/acpi/pci_root.c. The benefits are - We no longer need struct osc_data and its management code (contents are moved to struct acpi_pci_root). This simplify the code, and we no longer care about kmalloc() failure. - We can make pci_acpi_osc_support() be a static function, which is called only from drivers/acpi/pci_root.c. Signed-off-by: Kenji Kaneshige Reviewed-by: Andrew Patterson Tested-by: Andrew Patterson Acked-by: Alex Chiang Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed