The patch titled gpio: make two mutexes static again has been added to the -mm tree. Its filename is chardev-gpio-for-scx200-pc-8736x-replace-spinlocks-fix.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: gpio: make two mutexes static again From: Adrian Bunk <bunk@xxxxxxxxx> scx200_gpio_config_lock and pc8736x_gpio_config_lock became global without a good reason. Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx> Cc: Jim Cromie <jim.cromie@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/i386/kernel/scx200.c | 2 +- drivers/char/pc8736x_gpio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN arch/i386/kernel/scx200.c~chardev-gpio-for-scx200-pc-8736x-replace-spinlocks-fix arch/i386/kernel/scx200.c --- a/arch/i386/kernel/scx200.c~chardev-gpio-for-scx200-pc-8736x-replace-spinlocks-fix +++ a/arch/i386/kernel/scx200.c @@ -46,7 +46,7 @@ static struct pci_driver scx200_pci_driv .probe = scx200_probe, }; -DEFINE_MUTEX(scx200_gpio_config_lock); +static DEFINE_MUTEX(scx200_gpio_config_lock); static void __devinit scx200_init_shadow(void) { diff -puN drivers/char/pc8736x_gpio.c~chardev-gpio-for-scx200-pc-8736x-replace-spinlocks-fix drivers/char/pc8736x_gpio.c --- a/drivers/char/pc8736x_gpio.c~chardev-gpio-for-scx200-pc-8736x-replace-spinlocks-fix +++ a/drivers/char/pc8736x_gpio.c @@ -32,7 +32,7 @@ static int major = 0; /* default to dyn module_param(major, int, 0); MODULE_PARM_DESC(major, "Major device number"); -DEFINE_MUTEX(pc8736x_gpio_config_lock); +static DEFINE_MUTEX(pc8736x_gpio_config_lock); static unsigned pc8736x_gpio_base; static u8 pc8736x_gpio_shadow[4]; _ Patches currently in -mm which might be from bunk@xxxxxxxxx are origin.patch git-acpi.patch acpiphp-use-new-dock-driver.patch drivers-acpi-scanc-make-acpi_bus_type-static.patch git-dvb.patch drivers-media-video-vivic-make-2-functions-static.patch git-gfs2.patch ni5010-netcard-cleanup-fix.patch git-ocfs2.patch gregkh-pci-acpiphp-configure-_prt-v3-cleanup.patch drivers-scsi-aic7xxx-possible-cleanups.patch drivers-scsi-small-cleanups.patch drivers-scsi-megaraidc-add-a-dummy-mega_create_proc_entry-for-proc_fs=y.patch drivers-scsi-qla2xxx-make-some-functions-static.patch drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_done_with_status-static.patch drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static.patch drivers-scsi-aic7xxx-possible-cleanups-2.patch swsusp-rework-memory-shrinker-rev-2.patch acx1xx-wireless-driver.patch arch-i386-kernel-apicc-make-modern_apic-static.patch kernel-power-snapshotc-cleanups.patch x86_64-unexport-ia32_sys_call_table.patch fs-locksc-make-posix_locks_deadlock-static.patch remove-config_parport_arc-drivers-parport-parport_arcc.patch fs-fat-miscc-unexport-fat_sync_bhs.patch the-scheduled-unexport-of-insert_resource.patch fs-bufferc-possible-cleanups.patch drivers-md-raid6algosc-fix-a-null-dereference.patch drivers-char-applicomc-proper-module_initexit.patch kernel-sysc-cleanups.patch kernel-sysc-cleanups-fix.patch chardev-gpio-for-scx200-pc-8736x-replace-spinlocks-fix.patch time-i386-clocksource-drivers.patch drivers-ide-legacy-ide-csc-make-2-functions-static.patch fbdev-cleanup-the-config_video_select-mess.patch fbdev-remove-duplicate-includes.patch fbdev-remove-unused-exports.patch md-make-md_print_devices-static.patch drivers-md-mdc-make-code-static.patch slab-cache-shrinker-statistics.patch i386-enable-4k-stacks-by-default.patch mutex-subsystem-synchro-test-module.patch drivers-char-ipmi-ipmi_msghandlerc-make-proc_ipmi_root-static.patch drivers-message-i2o-iopc-unexport-i2o_msg_nop.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