The patch titled proper prototype for drivers/base/init.c:driver_init() has been added to the -mm tree. Its filename is proper-prototype-for-drivers-base-initcdriver_init.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: proper prototype for drivers/base/init.c:driver_init() From: Adrian Bunk <bunk@xxxxxxxxx> Add a prototype for driver_init() in include/linux/device.h. Also remove a static function of the same name in drivers/acpi/ibm_acpi.c to ibm_acpi_driver_init() to fix the namespace collision. Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx> Acked-by: Henrique de Moraes Holschuh <hmh@xxxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/acpi/ibm_acpi.c | 4 ++-- include/linux/device.h | 2 ++ init/main.c | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff -puN drivers/acpi/ibm_acpi.c~proper-prototype-for-drivers-base-initcdriver_init drivers/acpi/ibm_acpi.c --- a/drivers/acpi/ibm_acpi.c~proper-prototype-for-drivers-base-initcdriver_init +++ a/drivers/acpi/ibm_acpi.c @@ -493,7 +493,7 @@ static char *next_cmd(char **cmds) return start; } -static int driver_init(void) +static int ibm_acpi_driver_init(void) { printk(IBM_INFO "%s v%s\n", IBM_DESC, IBM_VERSION); printk(IBM_INFO "%s\n", IBM_URL); @@ -2297,7 +2297,7 @@ static void fan_watchdog_fire(struct wor static struct ibm_struct ibms[] = { { .name = "driver", - .init = driver_init, + .init = ibm_acpi_driver_init, .read = driver_read, }, { diff -puN /dev/null /dev/null diff -puN include/linux/device.h~proper-prototype-for-drivers-base-initcdriver_init include/linux/device.h --- a/include/linux/device.h~proper-prototype-for-drivers-base-initcdriver_init +++ a/include/linux/device.h @@ -433,6 +433,8 @@ static inline int device_is_registered(s return dev->is_registered; } +void driver_init(void); + /* * High level routines for use by the bus drivers */ diff -puN /dev/null /dev/null diff -puN init/main.c~proper-prototype-for-drivers-base-initcdriver_init init/main.c --- a/init/main.c~proper-prototype-for-drivers-base-initcdriver_init +++ a/init/main.c @@ -53,6 +53,7 @@ #include <linux/utsrelease.h> #include <linux/pid_namespace.h> #include <linux/compile.h> +#include <linux/device.h> #include <asm/io.h> #include <asm/bugs.h> @@ -95,7 +96,6 @@ extern void prio_tree_init(void); extern void radix_tree_init(void); extern void free_initmem(void); extern void populate_rootfs(void); -extern void driver_init(void); extern void prepare_namespace(void); #ifdef CONFIG_ACPI extern void acpi_early_init(void); diff -puN /dev/null /dev/null _ 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 one-more-export_unused_symbol-removal.patch proper-prototype-for-drivers-base-initcdriver_init.patch remove-the-broken-scsi_seagate-driver.patch remove-the-broken-skmc-driver.patch remove-the-broken-blk_dev_swim_iop-driver.patch remove-include-linux-byteorder-pdp_endianh.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 remove-broken-video-drivers-v4.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