The patch titled ACPI: make code static has been added to the -mm tree. Its filename is acpi-make-code-static.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: ACPI: make code static From: Adrian Bunk <bunk@xxxxxxxxx> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx> Cc: "Brown, Len" <len.brown@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/acpi/bus.c | 2 +- drivers/acpi/dock.c | 4 ++-- drivers/acpi/pci_bind.c | 4 ++-- include/acpi/acpi_bus.h | 2 -- include/acpi/acpi_drivers.h | 2 -- 5 files changed, 5 insertions(+), 9 deletions(-) diff -puN drivers/acpi/bus.c~acpi-make-code-static drivers/acpi/bus.c --- a/drivers/acpi/bus.c~acpi-make-code-static +++ a/drivers/acpi/bus.c @@ -728,7 +728,7 @@ static int __init acpi_bus_init(void) return -ENODEV; } -decl_subsys(acpi, NULL, NULL); +static decl_subsys(acpi, NULL, NULL); static int __init acpi_init(void) { diff -puN drivers/acpi/dock.c~acpi-make-code-static drivers/acpi/dock.c --- a/drivers/acpi/dock.c~acpi-make-code-static +++ a/drivers/acpi/dock.c @@ -639,7 +639,7 @@ static ssize_t show_docked(struct device return snprintf(buf, PAGE_SIZE, "%d\n", dock_present(dock_station)); } -DEVICE_ATTR(docked, S_IRUGO, show_docked, NULL); +static DEVICE_ATTR(docked, S_IRUGO, show_docked, NULL); /* * write_undock - write method for "undock" file in sysfs @@ -655,7 +655,7 @@ static ssize_t write_undock(struct devic ret = handle_eject_request(dock_station, ACPI_NOTIFY_EJECT_REQUEST); return ret ? ret: count; } -DEVICE_ATTR(undock, S_IWUSR, NULL, write_undock); +static DEVICE_ATTR(undock, S_IWUSR, NULL, write_undock); /** * dock_add - add a new dock station diff -puN drivers/acpi/pci_bind.c~acpi-make-code-static drivers/acpi/pci_bind.c --- a/drivers/acpi/pci_bind.c~acpi-make-code-static +++ a/drivers/acpi/pci_bind.c @@ -106,7 +106,7 @@ acpi_status acpi_get_pci_id(acpi_handle EXPORT_SYMBOL(acpi_get_pci_id); -int acpi_pci_bind(struct acpi_device *device) +static int acpi_pci_bind(struct acpi_device *device) { int result = 0; acpi_status status = AE_OK; @@ -265,7 +265,7 @@ int acpi_pci_bind(struct acpi_device *de return result; } -int acpi_pci_unbind(struct acpi_device *device) +static int acpi_pci_unbind(struct acpi_device *device) { int result = 0; acpi_status status = AE_OK; diff -puN include/acpi/acpi_bus.h~acpi-make-code-static include/acpi/acpi_bus.h --- a/include/acpi/acpi_bus.h~acpi-make-code-static +++ a/include/acpi/acpi_bus.h @@ -317,8 +317,6 @@ struct acpi_bus_event { u32 data; }; -extern struct subsystem acpi_subsys; - /* * External Functions */ diff -puN include/acpi/acpi_drivers.h~acpi-make-code-static include/acpi/acpi_drivers.h --- a/include/acpi/acpi_drivers.h~acpi-make-code-static +++ a/include/acpi/acpi_drivers.h @@ -68,8 +68,6 @@ void acpi_pci_irq_del_prt(int segment, i struct pci_bus; acpi_status acpi_get_pci_id(acpi_handle handle, struct acpi_pci_id *id); -int acpi_pci_bind(struct acpi_device *device); -int acpi_pci_unbind(struct acpi_device *device); int acpi_pci_bind_root(struct acpi_device *device, struct acpi_pci_id *id, struct pci_bus *bus); _ Patches currently in -mm which might be from bunk@xxxxxxxxx are origin.patch make-drivers-acpi-eccec_ecdt-static.patch drivers-acpi-oslc-fix-a-null-check.patch acpi-make-code-static.patch git-alsa.patch fs-dlm-lowcomms-tcpc-remove-2-functions.patch git-mtd.patch net-uninline-skb_put-fix.patch dont-export-device-ids-to-userspace.patch drivers-scsi-small-cleanups.patch drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static.patch drivers-scsi-advansysc-cleanups.patch megaraid-fix-warnings-when-config_proc_fs=n.patch drivers-scsi-dpt_i2oc-remove-dead-code.patch drivers-scsi-aic7xxx-make-functions-static.patch make-qla2x00_reg_remote_port-static.patch drivers-scsi-wd33c93c-cleanups.patch usb_rtl8150-must-select-mii.patch drivers-edac-make-code-static.patch remove-drivers-pci-searchcpci_find_device_reverse.patch debug-add-sysrq_always_enabled-boot-option-cleanup.patch make-ext2_get_blocks-static.patch readahead-events-accounting-make-readahead_debug_level-static.patch reiser4-export-remove_from_page_cache-fix.patch fs-reiser4-possible-cleanups.patch reiser4-possible-cleanups-2.patch fs-reiser4-possible-cleanups-2.patch fs-reiser4-more-possible-cleanups.patch gtod-persistent-clock-support-core-remove-kernel-timercwall_jiffies.patch gtod-persistent-clock-support-i386-i386-unexport-read_persistent_clock.patch dynticks-extend-next_timer_interrupt-to-use-a-reference-jiffie-make-kernel-timerc__next_timer_interrupt-static.patch updated-i386-convert-to-clock-event-devices-arch-i386-kernel-apicc-make-a-function-static.patch updated-i386-convert-to-clock-event-devices-remove-arch-i386-kernel-time_hpetchpet_reenable.patch slim-main-patch-security-slim-slm_mainc-make-2-functions-static.patch debug-shared-irqs-kconfig-fix.patch i386-enable-4k-stacks-by-default.patch mutex-subsystem-synchro-test-module.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html