mtd/drivers/mtd/devices blkmtd-25.c,1.3,1.4 blkmtd.c,1.18,1.19
doc2000.c,1.51,1.52 doc2001.c,1.39,1.40 lart.c,1.4,1.5
ms02-nv.c,1.3,1.4 mtdram.c,1.30,1.31 pmc551.c,1.23,1.24slram.c,1.29,1.30
David Woodhouse
dwmw2 at infradead.org
Tue May 20 17:03:11 EDT 2003
Update of /home/cvs/mtd/drivers/mtd/devices
In directory phoenix.infradead.org:/tmp/cvs-serv9616
Modified Files:
blkmtd-25.c blkmtd.c doc2000.c doc2001.c lart.c ms02-nv.c
mtdram.c pmc551.c slram.c
Log Message:
set owner explicitly. No set_module_owner
Index: blkmtd-25.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/blkmtd-25.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- blkmtd-25.c 14 May 2003 22:26:27 -0000 1.3
+++ blkmtd-25.c 20 May 2003 21:03:07 -0000 1.4
@@ -731,7 +731,7 @@
}
dev->mtd_info.read = blkmtd_read;
dev->mtd_info.priv = dev;
- set_module_owner(&dev->mtd_info);
+ &dev->mtd_info->owner = THIS_MODULE;
list_add(&dev->list, &blkmtd_device_list);
if (add_mtd_device(&dev->mtd_info)) {
Index: blkmtd.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/blkmtd.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- blkmtd.c 14 May 2003 22:26:27 -0000 1.18
+++ blkmtd.c 20 May 2003 21:03:07 -0000 1.19
@@ -912,7 +912,7 @@
dev->mtd_info.point = 0;
dev->mtd_info.unpoint = 0;
dev->mtd_info.priv = dev;
- set_module_owner(&dev->mtd_info);
+ dev->mtd_info.owner = THIS_MODULE;
list_add(&dev->list, &blkmtd_device_list);
if (add_mtd_device(&dev->mtd_info)) {
Index: doc2000.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/doc2000.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- doc2000.c 14 May 2003 22:26:28 -0000 1.51
+++ doc2000.c 20 May 2003 21:03:07 -0000 1.52
@@ -557,7 +557,7 @@
mtd->erasesize = 0;
mtd->oobblock = 512;
mtd->oobsize = 16;
- set_module_owner(mtd);
+ mtd->owner = THIS_MODULE;
mtd->erase = doc_erase;
mtd->point = NULL;
mtd->unpoint = NULL;
Index: doc2001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/doc2001.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- doc2001.c 14 May 2003 22:26:28 -0000 1.39
+++ doc2001.c 20 May 2003 21:03:07 -0000 1.40
@@ -366,7 +366,7 @@
mtd->oobblock = 512;
mtd->oobsize = 16;
- set_module_owner(mtd);
+ mtd->owner = THIS_MODULE;
mtd->erase = doc_erase;
mtd->point = NULL;
mtd->unpoint = NULL;
Index: lart.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/lart.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- lart.c 14 May 2003 22:26:28 -0000 1.4
+++ lart.c 20 May 2003 21:03:07 -0000 1.5
@@ -644,7 +644,7 @@
mtd.erase = flash_erase;
mtd.read = flash_read;
mtd.write = flash_write;
- set_module_owner(&mtd);
+ mtd.owner = THIS_MODULE;
#ifdef LART_DEBUG
printk (KERN_DEBUG
Index: ms02-nv.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/ms02-nv.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ms02-nv.c 14 May 2003 22:26:28 -0000 1.3
+++ ms02-nv.c 20 May 2003 21:03:07 -0000 1.4
@@ -222,7 +222,7 @@
mtd->flags = MTD_CAP_RAM | MTD_XIP;
mtd->size = fixsize;
mtd->name = (char *)ms02nv_name;
- set_module_owner(mtd);
+ mtd->owner = THIS_MODULE;
mtd->read = ms02nv_read;
mtd->write = ms02nv_write;
Index: mtdram.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/mtdram.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- mtdram.c 14 May 2003 22:26:28 -0000 1.30
+++ mtdram.c 20 May 2003 21:03:07 -0000 1.31
@@ -136,7 +136,7 @@
mtd->erasesize = MTDRAM_ERASE_SIZE;
mtd->priv = mapped_address;
- set_module_owner(mtd);
+ mtd->owner = THIS_MODULE;
mtd->erase = ram_erase;
mtd->point = ram_point;
mtd->unpoint = ram_unpoint;
Index: pmc551.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/pmc551.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- pmc551.c 14 May 2003 22:26:28 -0000 1.23
+++ pmc551.c 20 May 2003 21:03:08 -0000 1.24
@@ -790,7 +790,7 @@
mtd->type = MTD_RAM;
mtd->name = "PMC551 RAM board";
mtd->erasesize = 0x10000;
- set_module_owner(mtd);
+ mtd->owner = THIS_MODULE;
if (add_mtd_device(mtd)) {
printk(KERN_NOTICE "pmc551: Failed to register new device\n");
Index: slram.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/slram.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- slram.c 14 May 2003 22:26:28 -0000 1.29
+++ slram.c 20 May 2003 21:03:08 -0000 1.30
@@ -199,7 +199,7 @@
(*curmtd)->mtdinfo->unpoint = slram_unpoint;
(*curmtd)->mtdinfo->read = slram_read;
(*curmtd)->mtdinfo->write = slram_write;
- set_module_owner((*curmtd)->mtdinfo);
+ (*curmtd)->mtdinfo->owner = THIS_MODULE;
(*curmtd)->mtdinfo->type = MTD_RAM;
(*curmtd)->mtdinfo->erasesize = 0x0;
More information about the linux-mtd-cvs
mailing list