patch-2.2.13 linux/drivers/char/pms.c

Next file: linux/drivers/char/radio-trust.c
Previous file: linux/drivers/char/pcwd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.12/linux/drivers/char/pms.c linux/drivers/char/pms.c
@@ -1024,12 +1024,6 @@
 	return 0;
 }
 
-static void shutdown_mediavision(void)
-{
-	release_region(io_port,3);
-	release_region(0x9A01, 1);
-}
-
 /*
  *	Module stuff
  */
@@ -1061,6 +1055,12 @@
 
 MODULE_PARM(io_port,"i");
 MODULE_PARM(mem_base,"i");
+
+static void shutdown_mediavision(void)
+{
+	release_region(io_port,3);
+	release_region(0x9A01, 1);
+}
 
 void cleanup_module(void)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)