The patch titled drivers/cpuidle/: make code static has been removed from the -mm tree. Its filename was drivers-cpuidle-make-code-static.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: drivers/cpuidle/: make code static From: Adrian Bunk <bunk@xxxxxxxxx> This patch makes the following needlessly global code static: - driver.c: __cpuidle_find_driver() - governor.c: __cpuidle_find_governor() - ladder.c: struct ladder_governor Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx> Cc: Len Brown <lenb@xxxxxxxxxx> Cc: Venkatesh Pallipadi <venkatesh.pallipadi@xxxxxxxxx> Cc: Adam Belay <abelay@xxxxxxxxxx> Cc: Shaohua Li <shaohua.li@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/cpuidle/cpuidle.h | 2 -- drivers/cpuidle/driver.c | 2 +- drivers/cpuidle/governor.c | 2 +- drivers/cpuidle/governors/ladder.c | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff -puN drivers/cpuidle/cpuidle.h~drivers-cpuidle-make-code-static drivers/cpuidle/cpuidle.h --- a/drivers/cpuidle/cpuidle.h~drivers-cpuidle-make-code-static +++ a/drivers/cpuidle/cpuidle.h @@ -23,13 +23,11 @@ extern void cpuidle_rescan_device(struct /* drivers */ extern int cpuidle_attach_driver(struct cpuidle_device *dev); extern void cpuidle_detach_driver(struct cpuidle_device *dev); -extern struct cpuidle_driver * __cpuidle_find_driver(const char *str); extern int cpuidle_switch_driver(struct cpuidle_driver *drv); /* governors */ extern int cpuidle_attach_governor(struct cpuidle_device *dev); extern void cpuidle_detach_governor(struct cpuidle_device *dev); -extern struct cpuidle_governor * __cpuidle_find_governor(const char *str); extern int cpuidle_switch_governor(struct cpuidle_governor *gov); /* sysfs */ diff -puN drivers/cpuidle/driver.c~drivers-cpuidle-make-code-static drivers/cpuidle/driver.c --- a/drivers/cpuidle/driver.c~drivers-cpuidle-make-code-static +++ a/drivers/cpuidle/driver.c @@ -73,7 +73,7 @@ void cpuidle_detach_driver(struct cpuidl * * Must be called with cpuidle_lock aquired. */ -struct cpuidle_driver * __cpuidle_find_driver(const char *str) +static struct cpuidle_driver * __cpuidle_find_driver(const char *str) { struct cpuidle_driver *drv; diff -puN drivers/cpuidle/governor.c~drivers-cpuidle-make-code-static drivers/cpuidle/governor.c --- a/drivers/cpuidle/governor.c~drivers-cpuidle-make-code-static +++ a/drivers/cpuidle/governor.c @@ -72,7 +72,7 @@ void cpuidle_detach_governor(struct cpui * * Must be called with cpuidle_lock aquired. */ -struct cpuidle_governor * __cpuidle_find_governor(const char *str) +static struct cpuidle_governor * __cpuidle_find_governor(const char *str) { struct cpuidle_governor *gov; diff -puN drivers/cpuidle/governors/ladder.c~drivers-cpuidle-make-code-static drivers/cpuidle/governors/ladder.c --- a/drivers/cpuidle/governors/ladder.c~drivers-cpuidle-make-code-static +++ a/drivers/cpuidle/governors/ladder.c @@ -199,7 +199,7 @@ static void ladder_exit_device(struct cp kfree(dev->governor_data); } -struct cpuidle_governor ladder_governor = { +static struct cpuidle_governor ladder_governor = { .name = "ladder", .init = ladder_init_device, .exit = ladder_exit_device, _ Patches currently in -mm which might be from bunk@xxxxxxxxx are origin.patch git-acpi.patch git-drm.patch make-drivers-char-drm-drm_vmcdrm_io_prot-static.patch git-dvb.patch saa7134-fix-modules=n-compilation.patch git-gfs2-nmw.patch git-ieee1394.patch kconfig-abort-configuration-with-recursive-dependencies.patch remove-fs-jffs2-ioctlc.patch nommu-make-it-possible-for-romfs-to-use-mtd-devices.patch git-ubi.patch git-netdev-all.patch drivers-net-vioc-possible-cleanups.patch drivers-net-bonding-bond_maincmake-3-functions-static.patch net-uninline-skb_put-fix.patch drivers-scsi-small-cleanups.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 drivers-scsi-wd33c93c-cleanups.patch drivers-scsi-qla4xxx-possible-cleanups.patch make-seagate_st0x_detect-static.patch drivers-scsi-aacraid-cleanups.patch remove-the-broken-scsi_acornscsi_3-driver.patch git-unionfs.patch git-wireless.patch git-ipwireless_cs.patch arch-i386-kernel-alternativec-should-include-asm-bugsh.patch make-struct-vmi_ops-static.patch i386-asm-offsetsc-workaround-for-a-wmissing-prototypes-warning.patch lguest-kconfig-and-headers.patch revert-ac97-fix-microphone-and-line_in-selection-logic.patch proper-prototype-for-hugetlb_get_unmapped_area.patch mm-slabc-proper-prototypes.patch filesystem-disk-errors-at-boot-time-caused-by-probe.patch kill-net-rxrpc-rxrpc_symsc.patch drivers-char-hvc_consolec-cleanups.patch init-do_mountsc-proper-prepare_namespace-prototype.patch the-scheduled-removal-of-obsolete_oss-options.patch drivers-macintosh-mac_hidc-make-code-static.patch ext2-reservations.patch drivers-edac-make-code-static.patch linux-kernel-markers-kconfig-menus.patch linux-kernel-markers-architecture-independant-code.patch linux-kernel-markers-i386-optimization.patch readahead-events-accounting.patch reiser4-export-remove_from_page_cache.patch reiser4.patch fbdev-display-class-fix.patch fbdev-mm-deferred-io-support-fix.patch fbdev-hecuba-framebuffer-driver-fix.patch slim-main-patch.patch slim-debug-output.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