aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-24 12:24:42 -0400
committerLen Brown <len.brown@intel.com>2008-02-07 03:33:23 -0500
commite5685b9d35c2cc0a98425b05df30cb837dd1e632 (patch)
tree7f10940d8bdaa18cd806d42a3fdb63cfefc47f37 /arch
parent87ecd5cddaa37f057d8d8c2813e1b748b1804423 (diff)
ACPI: misc cleanups
This patch contains the following possible cleanups: - make the following needlessly global code static: - drivers/acpi/bay.c:dev_attr_eject - drivers/acpi/bay.c:dev_attr_present - drivers/acpi/dock.c:dev_attr_docked - drivers/acpi/dock.c:dev_attr_flags - drivers/acpi/dock.c:dev_attr_uid - drivers/acpi/dock.c:dev_attr_undock - drivers/acpi/pci_bind.c:acpi_pci_unbind() - drivers/acpi/pci_link.c:acpi_link_lock - drivers/acpi/sbs.c:acpi_sbs_callback() - drivers/acpi/sbshc.c:acpi_smbus_transaction() - drivers/acpi/sleep/main.c:acpi_sleep_prepare() - #if 0 the following unused global functions: - drivers/acpi/numa.c:acpi_unmap_pxm_to_node() - remove the following unused EXPORT_SYMBOL's: - acpi_register_gsi - acpi_unregister_gsi - acpi_strict - acpi_bus_receive_event - register_acpi_bus_type - unregister_acpi_bus_type - acpi_os_printf - acpi_os_sleep - acpi_os_stall - acpi_os_read_pci_configuration - acpi_os_create_semaphore - acpi_os_delete_semaphore - acpi_os_wait_semaphore - acpi_os_signal_semaphore - acpi_os_signal - acpi_pci_irq_enable - acpi_get_pxm Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/kernel/acpi.c4
-rw-r--r--arch/x86/kernel/acpi/boot.c3
2 files changed, 0 insertions, 7 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c
index 00b5d08f6da8..78206f1b71d2 100644
--- a/arch/ia64/kernel/acpi.c
+++ b/arch/ia64/kernel/acpi.c
@@ -601,8 +601,6 @@ int acpi_register_gsi(u32 gsi, int triggering, int polarity)
601 IOSAPIC_LEVEL); 601 IOSAPIC_LEVEL);
602} 602}
603 603
604EXPORT_SYMBOL(acpi_register_gsi);
605
606void acpi_unregister_gsi(u32 gsi) 604void acpi_unregister_gsi(u32 gsi)
607{ 605{
608 if (acpi_irq_model == ACPI_IRQ_MODEL_PLATFORM) 606 if (acpi_irq_model == ACPI_IRQ_MODEL_PLATFORM)
@@ -611,8 +609,6 @@ void acpi_unregister_gsi(u32 gsi)
611 iosapic_unregister_intr(gsi); 609 iosapic_unregister_intr(gsi);
612} 610}
613 611
614EXPORT_SYMBOL(acpi_unregister_gsi);
615
616static int __init acpi_parse_fadt(struct acpi_table_header *table) 612static int __init acpi_parse_fadt(struct acpi_table_header *table)
617{ 613{
618 struct acpi_table_header *fadt_header; 614 struct acpi_table_header *fadt_header;
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index d2a58431a074..529e52df4e1d 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -78,7 +78,6 @@ int acpi_ht __initdata = 1; /* enable HT */
78int acpi_lapic; 78int acpi_lapic;
79int acpi_ioapic; 79int acpi_ioapic;
80int acpi_strict; 80int acpi_strict;
81EXPORT_SYMBOL(acpi_strict);
82 81
83u8 acpi_sci_flags __initdata; 82u8 acpi_sci_flags __initdata;
84int acpi_sci_override_gsi __initdata; 83int acpi_sci_override_gsi __initdata;
@@ -490,8 +489,6 @@ int acpi_register_gsi(u32 gsi, int triggering, int polarity)
490 return irq; 489 return irq;
491} 490}
492 491
493EXPORT_SYMBOL(acpi_register_gsi);
494
495/* 492/*
496 * ACPI based hotplug support for CPU 493 * ACPI based hotplug support for CPU
497 */ 494 */