mtd/drivers/mtd/maps amd76xrom.c,1.5,1.6 arctic-mtd.c,1.6,1.7
autcpu12-nvram.c,1.3,1.4 beech-mtd.c,1.5,1.6 cdb89712.c,1.5,1.6
ceiva.c,1.6,1.7 cfi_flagadm.c,1.9,1.10 cstm_mips_ixx.c,1.7,1.8
dbox2-flash.c,1.7,1.8 dc21285.c,1.13,1.14 dilnetpc.c,1.10,1.11
ebony.c,1.5,1.6 edb7312.c,1.6,1.7 elan-104nc.c,1.15,1.16
epxa10db-flash.c,1.8,1.9 fortunet.c,1.4,1.5 h720x-flash.c,1.4,1.5
ich2rom.c,1.5,1.6 impa7.c,1.6,1.7 integrator-flash.c,1.11,1.12
iq80310.c,1.13,1.14 l440gx.c,1.10,1.11 lasat.c,1.3,1.4
lubbock-flash.c,1.6,1.7 mbx860.c,1.3,1.4 netsc520.c,1.7,1.8
nettel.c,1.3,1.4 nora.c,1.22,1.23 ocelot.c,1.10,1.11
octagon-5066.c,1.22,1.23 pb1xxx-flash.c,1.6,1.7 pci.c,1.4,1.5
pcmciamtd.c,1.42,1.43 physmap.c,1.25,1.26 pnc2000.c,1.12,1.13
redwood.c,1.4,1.5 rpxlite.c,1.17,1.18 sa1100-flash.c,1.33,1.34
sbc_gxx.c,1.23,1.24 sc520cdp.c,1.13,1.14 scb2_flash.c,1.4,1.5
scx200_docflash.c,1.3,1.4 solutionengine.c,1.8,1.9
sun_uflash.c,1.6,1.7 tqm8xxl.c,1.6,1.7 tsunami_flash.c,1.3,1.4
uclinux.c,1.4,1.5 vmax301.c,1.26,1.27
David Woodhouse
dwmw2 at infradead.org
Tue May 20 16:59:36 EDT 2003
Update of /home/cvs/mtd/drivers/mtd/maps
In directory phoenix.infradead.org:/tmp/cvs-serv9525
Modified Files:
amd76xrom.c arctic-mtd.c autcpu12-nvram.c beech-mtd.c
cdb89712.c ceiva.c cfi_flagadm.c cstm_mips_ixx.c dbox2-flash.c
dc21285.c dilnetpc.c ebony.c edb7312.c elan-104nc.c
epxa10db-flash.c fortunet.c h720x-flash.c ich2rom.c impa7.c
integrator-flash.c iq80310.c l440gx.c lasat.c lubbock-flash.c
mbx860.c netsc520.c nettel.c nora.c ocelot.c octagon-5066.c
pb1xxx-flash.c pci.c pcmciamtd.c physmap.c pnc2000.c redwood.c
rpxlite.c sa1100-flash.c sbc_gxx.c sc520cdp.c scb2_flash.c
scx200_docflash.c solutionengine.c sun_uflash.c tqm8xxl.c
tsunami_flash.c uclinux.c vmax301.c
Log Message:
set owner explicitly. No set_module_owner
Index: amd76xrom.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/amd76xrom.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- amd76xrom.c 14 May 2003 22:26:29 -0000 1.5
+++ amd76xrom.c 20 May 2003 20:59:29 -0000 1.6
@@ -120,7 +120,7 @@
printk(KERN_NOTICE "amd76xrom chip at offset: 0x%x\n",
window->size - rom_size);
- set_module_owner(info->mtd);
+ info->mtd->owner = THIS_MODULE;
add_mtd_device(info->mtd);
info->window_start = window->start;
info->window_size = window->size;
Index: arctic-mtd.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/arctic-mtd.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- arctic-mtd.c 14 May 2003 22:26:29 -0000 1.6
+++ arctic-mtd.c 20 May 2003 20:59:29 -0000 1.7
@@ -104,7 +104,7 @@
if (!arctic_mtd)
return -ENXIO;
- set_module_owner(arctic_mtd);
+ arctic_mtd->owner = THIS_MODULE;
return add_mtd_partitions(arctic_mtd, arctic_partitions, 3);
}
Index: autcpu12-nvram.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/autcpu12-nvram.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- autcpu12-nvram.c 14 May 2003 22:26:29 -0000 1.3
+++ autcpu12-nvram.c 20 May 2003 20:59:29 -0000 1.4
@@ -86,7 +86,7 @@
goto out_ioremap;
}
- set_module_owner(sram_mtd);
+ sram_mtd->owner = THIS_MODULE;
sram_mtd->erasesize = 16;
if (add_mtd_device(sram_mtd)) {
Index: beech-mtd.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/beech-mtd.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- beech-mtd.c 14 May 2003 22:26:29 -0000 1.5
+++ beech-mtd.c 20 May 2003 20:59:29 -0000 1.6
@@ -88,7 +88,7 @@
if (!beech_mtd)
return -ENXIO;
- set_module_owner(beech_mtd);
+ beech_mtd->owner = THIS_MODULE;
return add_mtd_partitions(beech_mtd, beech_partitions, 2);
}
Index: cdb89712.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/cdb89712.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- cdb89712.c 14 May 2003 22:26:29 -0000 1.5
+++ cdb89712.c 20 May 2003 20:59:29 -0000 1.6
@@ -62,7 +62,7 @@
goto out_ioremap;
}
- set_module_owner(flash_mtd);
+ flash_mtd->owner = THIS_MODULE;
if (add_mtd_device(flash_mtd)) {
printk("FLASH device addition failed\n");
@@ -127,7 +127,7 @@
goto out_ioremap;
}
- set_module_owner(sram_mtd);
+ sram_mtd->owner = THIS_MODULE;
sram_mtd->erasesize = 16;
if (add_mtd_device(sram_mtd)) {
@@ -195,7 +195,7 @@
goto out_ioremap;
}
- set_module_owner(bootrom_mtd);
+ bootrom_mtd->owner = THIS_MODULE;
bootrom_mtd->erasesize = 0x10000;
if (add_mtd_device(bootrom_mtd)) {
Index: ceiva.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/ceiva.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ceiva.c 16 May 2003 17:07:15 -0000 1.6
+++ ceiva.c 20 May 2003 20:59:29 -0000 1.7
@@ -160,7 +160,7 @@
ret = -ENXIO;
break;
}
- set_module_owner(clps[i].mtd);
+ clps[i].mtd->owner = THIS_MODULE;
subdev[i] = clps[i].mtd;
printk(KERN_INFO "clps flash: JEDEC device at 0x%08lx, %dMiB, "
Index: cfi_flagadm.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/cfi_flagadm.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- cfi_flagadm.c 14 May 2003 22:26:29 -0000 1.9
+++ cfi_flagadm.c 20 May 2003 20:59:29 -0000 1.10
@@ -107,7 +107,7 @@
mymtd = do_map_probe("cfi_probe", &flagadm_map);
if (mymtd) {
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
add_mtd_partitions(mymtd, flagadm_parts, PARTITION_COUNT);
printk(KERN_NOTICE "FlagaDM flash device initialized\n");
return 0;
Index: cstm_mips_ixx.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/cstm_mips_ixx.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- cstm_mips_ixx.c 14 May 2003 22:26:29 -0000 1.7
+++ cstm_mips_ixx.c 20 May 2003 20:59:29 -0000 1.8
@@ -199,7 +199,7 @@
printk(KERN_NOTICE "cstm_mips_ixx %d jedec: mymtd is %x\n",i,(unsigned int)mymtd);
}
if (mymtd) {
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
cstm_mips_ixx_map[i].map_priv_2 = (unsigned long)mymtd;
add_mtd_partitions(mymtd, parts, cstm_mips_ixx_board_desc[i].num_partitions);
Index: dbox2-flash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/dbox2-flash.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- dbox2-flash.c 14 May 2003 22:26:29 -0000 1.7
+++ dbox2-flash.c 20 May 2003 20:59:29 -0000 1.8
@@ -91,7 +91,7 @@
}
if (mymtd) {
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
/* Create MTD devices for each partition. */
add_mtd_partitions(mymtd, partition_info, NUM_PARTITIONS);
Index: dc21285.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/dc21285.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- dc21285.c 16 May 2003 17:07:15 -0000 1.13
+++ dc21285.c 20 May 2003 20:59:29 -0000 1.14
@@ -157,7 +157,7 @@
if (mymtd) {
int nrparts = 0;
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
/* partition fixup */
Index: dilnetpc.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/dilnetpc.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- dilnetpc.c 14 May 2003 22:26:29 -0000 1.10
+++ dilnetpc.c 20 May 2003 20:59:29 -0000 1.11
@@ -433,7 +433,7 @@
return -ENXIO;
}
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
/*
** Supply pointers to lowlvl_parts[] array to add_mtd_partitions()
Index: ebony.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/ebony.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ebony.c 14 May 2003 22:26:29 -0000 1.5
+++ ebony.c 20 May 2003 20:59:29 -0000 1.6
@@ -106,7 +106,7 @@
flash = do_map_probe("map_rom", &ebony_small_map);
if (flash) {
- set_module_owner(flash);
+ flash->owner = THIS_MODULE;
add_mtd_partitions(flash, ebony_small_partitions,
NB_OF(ebony_small_partitions));
} else {
@@ -128,7 +128,7 @@
flash = do_map_probe("cfi_probe", &ebony_large_map);
if (flash) {
- set_module_owner(flash);
+ flash->owner = THIS_MODULE;
add_mtd_partitions(flash, ebony_large_partitions,
NB_OF(ebony_large_partitions));
} else {
Index: edb7312.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/edb7312.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- edb7312.c 16 May 2003 17:07:15 -0000 1.6
+++ edb7312.c 20 May 2003 20:59:29 -0000 1.7
@@ -98,7 +98,7 @@
mymtd = do_map_probe(*type, &edb7312nor_map);
}
if (mymtd) {
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
#ifdef CONFIG_MTD_PARTITIONS
mtd_parts_nb = parse_mtd_partitions(mymtd, probes, &mtd_parts, MTDID);
Index: elan-104nc.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/elan-104nc.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- elan-104nc.c 14 May 2003 22:26:29 -0000 1.15
+++ elan-104nc.c 20 May 2003 20:59:29 -0000 1.16
@@ -261,7 +261,7 @@
return -ENXIO;
}
- set_module_owner(all_mtd);
+ all_mtd->owner = THIS_MODULE;
/* Create MTD devices for each partition. */
add_mtd_partitions( all_mtd, partition_info, NUM_PARTITIONS );
Index: epxa10db-flash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/epxa10db-flash.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- epxa10db-flash.c 16 May 2003 17:07:15 -0000 1.8
+++ epxa10db-flash.c 20 May 2003 20:59:30 -0000 1.9
@@ -74,7 +74,7 @@
return -ENXIO;
}
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
/* Unlock the flash device. */
if(mymtd->unlock){
Index: fortunet.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/fortunet.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- fortunet.c 14 May 2003 22:26:30 -0000 1.4
+++ fortunet.c 20 May 2003 20:59:30 -0000 1.5
@@ -236,7 +236,7 @@
map_regions[ix].mymtd = do_map_probe("cfi_probe",
&map_regions[ix].map_info);
}
- set_module_owner(map_regions[ix].mymtd);
+ map_regions[ix].mymtd->owner = THIS_MODULE;
add_mtd_partitions(map_regions[ix].mymtd,
map_regions[ix].parts,map_regions_parts[ix]);
}
Index: h720x-flash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/h720x-flash.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- h720x-flash.c 16 May 2003 17:07:16 -0000 1.4
+++ h720x-flash.c 20 May 2003 20:59:30 -0000 1.5
@@ -89,7 +89,7 @@
}
if (mymtd) {
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
#ifdef CONFIG_MTD_PARTITIONS
nr_mtd_parts = parse_mtd_partitions(mymtd, probes, &mtd_parts, 0);
Index: ich2rom.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/ich2rom.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ich2rom.c 14 May 2003 22:26:30 -0000 1.5
+++ ich2rom.c 20 May 2003 20:59:30 -0000 1.6
@@ -222,7 +222,7 @@
info->mtd->lock = ich2rom_lock;
info->mtd->unlock = ich2rom_unlock;
- set_module_owner(info->mtd);
+ info->mtd->owner = THIS_MODULE;
add_mtd_device(info->mtd);
return 0;
Index: impa7.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/impa7.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- impa7.c 16 May 2003 17:07:16 -0000 1.6
+++ impa7.c 20 May 2003 20:59:30 -0000 1.7
@@ -108,7 +108,7 @@
if (impa7_mtd[i])
{
- set_module_owner(impa7_mtd[i]);
+ impa7_mtd[i]->owner = THIS_MODULE;
add_mtd_device(impa7_mtd[i]);
devicesfound++;
#ifdef CONFIG_MTD_PARTITIONS
Index: integrator-flash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/integrator-flash.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- integrator-flash.c 16 May 2003 17:07:16 -0000 1.11
+++ integrator-flash.c 20 May 2003 20:59:30 -0000 1.12
@@ -188,7 +188,7 @@
if (!mtd)
return -ENXIO;
- set_module_owner(mtd);
+ mtd->owner = THIS_MODULE;
ret = parse_mtd_partitions(mtd, probes, &parts, (void *)0);
if (ret > 0) {
Index: iq80310.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/iq80310.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- iq80310.c 16 May 2003 17:07:16 -0000 1.13
+++ iq80310.c 20 May 2003 20:59:30 -0000 1.14
@@ -80,7 +80,7 @@
iounmap((void *)iq80310_map.virt);
return -ENXIO;
}
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
ret = parse_mtd_partitions(mymtd, probes, &parsed_parts, 0);
Index: l440gx.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/l440gx.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- l440gx.c 14 May 2003 22:26:30 -0000 1.10
+++ l440gx.c 20 May 2003 20:59:30 -0000 1.11
@@ -130,7 +130,7 @@
mymtd = do_map_probe("map_rom", &l440gx_map);
}
if (mymtd) {
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
add_mtd_device(mymtd);
return 0;
Index: lasat.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/lasat.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- lasat.c 14 May 2003 22:26:30 -0000 1.3
+++ lasat.c 20 May 2003 20:59:30 -0000 1.4
@@ -58,7 +58,7 @@
if (mymtd) {
u32 size, offset = 0;
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
for (i=0; i < LASAT_MTD_LAST; i++) {
size = lasat_flash_partition_size(i);
Index: lubbock-flash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/lubbock-flash.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- lubbock-flash.c 16 May 2003 17:25:31 -0000 1.6
+++ lubbock-flash.c 20 May 2003 20:59:30 -0000 1.7
@@ -96,7 +96,7 @@
ret = -EIO;
continue;
}
- set_module_owner(mymtds[i]);
+ mymtds[i]->owner = THIS_MODULE;
int ret = parse_mtd_partitions(mymtds[i], probes,
&parsed_parts[i], 0);
Index: mbx860.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/mbx860.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mbx860.c 14 May 2003 22:26:30 -0000 1.3
+++ mbx860.c 20 May 2003 20:59:30 -0000 1.4
@@ -69,7 +69,7 @@
mymtd = do_map_probe("jedec_probe", &mbx_map);
if (mymtd) {
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
add_mtd_device(mymtd);
add_mtd_partitions(mymtd, partition_info, NUM_PARTITIONS);
return 0;
Index: netsc520.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/netsc520.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- netsc520.c 14 May 2003 22:26:30 -0000 1.7
+++ netsc520.c 20 May 2003 20:59:30 -0000 1.8
@@ -114,7 +114,7 @@
return -ENXIO;
}
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
add_mtd_partitions( mymtd, partition_info, NUM_PARTITIONS );
return 0;
}
Index: nettel.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/nettel.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- nettel.c 14 May 2003 22:26:30 -0000 1.3
+++ nettel.c 20 May 2003 20:59:30 -0000 1.4
@@ -285,7 +285,7 @@
printk(KERN_NOTICE "SNAPGEAR: AMD flash device size = %dK\n",
amd_mtd->size>>10);
- set_module_owner(amd_mtd);
+ amd_mtd->owner = THIS_MODULE;
/* The high BIOS partition is only present for 2MB units */
num_amd_partitions = NUM_AMD_PARTITIONS;
@@ -416,7 +416,7 @@
printk(KERN_NOTICE "SNAPGEAR: Intel flash device size = %dK\n",
(intel_mtd->size >> 10));
- set_module_owner(intel_mtd);
+ intel_mtd->owner = THIS_MODULE;
#ifndef CONFIG_BLK_DEV_INITRD
ROOT_DEV = MKDEV(MTD_BLOCK_MAJOR, 1);
Index: nora.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/nora.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- nora.c 14 May 2003 22:26:30 -0000 1.22
+++ nora.c 20 May 2003 20:59:30 -0000 1.23
@@ -173,7 +173,7 @@
mymtd = do_map_probe("cfi_probe", &nora_map);
if (mymtd) {
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
add_mtd_device(&nora_mtds[2]);
add_mtd_device(&nora_mtds[0]);
Index: ocelot.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/ocelot.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ocelot.c 16 May 2003 17:07:16 -0000 1.10
+++ ocelot.c 20 May 2003 20:59:30 -0000 1.11
@@ -94,7 +94,7 @@
printk("NVRAM probe failed\n");
goto fail_1;
}
- set_module_owner(nvram_mtd);
+ nvram_mtd->owner = THIS_MODULE;
nvram_mtd->erasesize = 16;
/* Override the write() method */
nvram_mtd->write = ocelot_ram_write;
@@ -128,7 +128,7 @@
add_mtd_device(nvram_mtd);
- set_module_owner(flash_mtd);
+ flash_mtd->owner = THIS_MODULE;
nr_parts = parse_mtd_partitions(flash_mtd, probes, &parsed_parts, 0);
if (nr_parts > 0)
Index: octagon-5066.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/octagon-5066.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- octagon-5066.c 14 May 2003 22:26:30 -0000 1.22
+++ octagon-5066.c 20 May 2003 20:59:31 -0000 1.23
@@ -264,7 +264,7 @@
if (!oct5066_mtd[i])
oct5066_mtd[i] = do_map_probe("map_rom", &oct5066_map[i]);
if (oct5066_mtd[i]) {
- set_module_owner(oct5066_mtd[i]);
+ oct5066_mtd[i]->owner = THIS_MODULE;
add_mtd_device(oct5066_mtd[i]);
}
}
Index: pb1xxx-flash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/pb1xxx-flash.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- pb1xxx-flash.c 14 May 2003 22:26:30 -0000 1.6
+++ pb1xxx-flash.c 20 May 2003 20:59:31 -0000 1.7
@@ -169,7 +169,7 @@
iounmap(pb1xxx_map.virt);
return -ENXIO;
}
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
add_mtd_partitions(mymtd, parts, nb_parts);
return 0;
Index: pci.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/pci.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- pci.c 14 May 2003 22:26:30 -0000 1.4
+++ pci.c 20 May 2003 20:59:31 -0000 1.5
@@ -321,7 +321,7 @@
if (!mtd)
goto release;
- set_module_owner(mtd);
+ mtd->owner = THIS_MODULE;
add_mtd_device(mtd);
pci_set_drvdata(dev, mtd);
Index: pcmciamtd.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/pcmciamtd.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- pcmciamtd.c 14 May 2003 22:26:30 -0000 1.42
+++ pcmciamtd.c 20 May 2003 20:59:31 -0000 1.43
@@ -645,7 +645,7 @@
}
dev->mtd_info = mtd;
- set_module_owner(mtd);
+ mtd->owner = THIS_MODULE;
if(new_name) {
int size = 0;
Index: physmap.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/physmap.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- physmap.c 16 May 2003 17:07:16 -0000 1.25
+++ physmap.c 20 May 2003 20:59:31 -0000 1.26
@@ -82,7 +82,7 @@
mymtd = do_map_probe(*type, &physmap_map);
}
if (mymtd) {
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
#ifdef CONFIG_MTD_PARTITIONS
mtd_parts_nb = parse_mtd_partitions(mymtd, probes,
Index: pnc2000.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/pnc2000.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- pnc2000.c 14 May 2003 22:26:31 -0000 1.12
+++ pnc2000.c 20 May 2003 20:59:31 -0000 1.13
@@ -69,7 +69,7 @@
mymtd = do_map_probe("cfi_probe", &pnc_map);
if (mymtd) {
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
return add_mtd_partitions(mymtd, pnc_partitions, 3);
}
Index: redwood.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/redwood.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- redwood.c 14 May 2003 22:26:31 -0000 1.4
+++ redwood.c 20 May 2003 20:59:31 -0000 1.5
@@ -143,7 +143,7 @@
redwood_mtd = do_map_probe("cfi_probe",&redwood_flash_map);
if (redwood_mtd) {
- set_module_owner(redwood_mtd);
+ redwood_mtd->owner = THIS_MODULE;
return add_mtd_partitions(redwood_mtd,
redwood_flash_partitions,
NUM_REDWOOD_FLASH_PARTITIONS);
Index: rpxlite.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/rpxlite.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- rpxlite.c 14 May 2003 22:26:31 -0000 1.17
+++ rpxlite.c 20 May 2003 20:59:31 -0000 1.18
@@ -36,7 +36,7 @@
simple_map_init(&rpxlite_map);
mymtd = do_map_probe("cfi_probe", &rpxlite_map);
if (mymtd) {
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
add_mtd_device(mymtd);
return 0;
}
Index: sa1100-flash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/sa1100-flash.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- sa1100-flash.c 16 May 2003 17:07:16 -0000 1.33
+++ sa1100-flash.c 20 May 2003 20:59:31 -0000 1.34
@@ -910,7 +910,7 @@
ret = -ENXIO;
if (!mymtd)
goto out_err;
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
/*
* Dynamic partition selection stuff (might override the static ones)
Index: sbc_gxx.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/sbc_gxx.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- sbc_gxx.c 14 May 2003 22:26:31 -0000 1.23
+++ sbc_gxx.c 20 May 2003 20:59:31 -0000 1.24
@@ -262,7 +262,7 @@
return -ENXIO;
}
- set_module_owner(all_mtd);
+ all_mtd->owner = THIS_MODULE;
/* Create MTD devices for each partition. */
add_mtd_partitions(all_mtd, partition_info, NUM_PARTITIONS );
Index: sc520cdp.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/sc520cdp.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- sc520cdp.c 14 May 2003 22:26:31 -0000 1.13
+++ sc520cdp.c 20 May 2003 20:59:31 -0000 1.14
@@ -256,7 +256,7 @@
mymtd[i] = do_map_probe("map_rom", &sc520cdp_map[i]);
if (mymtd[i]) {
- set_module_owner(mymtd[i]);
+ mymtd[i]->owner = THIS_MODULE;
++devices_found;
}
else {
Index: scb2_flash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/scb2_flash.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- scb2_flash.c 14 May 2003 22:26:31 -0000 1.4
+++ scb2_flash.c 20 May 2003 20:59:32 -0000 1.5
@@ -178,7 +178,7 @@
return -ENODEV;
}
- set_module_owner(scb2_mtd);
+ scb2_mtd->owner = THIS_MODULE;
if (scb2_fixup_mtd(scb2_mtd) < 0) {
del_mtd_device(scb2_mtd);
map_destroy(scb2_mtd);
Index: scx200_docflash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/scx200_docflash.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- scx200_docflash.c 14 May 2003 22:26:31 -0000 1.3
+++ scx200_docflash.c 20 May 2003 20:59:32 -0000 1.4
@@ -197,7 +197,7 @@
if (size < mymtd->size)
printk(KERN_WARNING NAME ": warning, flash mapping is smaller than flash size\n");
- set_module_owner(mymtd);
+ mymtd->owner = THIS_MODULE;
#if PARTITION
partition_info[3].offset = mymtd->size-partition_info[3].size;
Index: solutionengine.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/solutionengine.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- solutionengine.c 16 May 2003 17:07:16 -0000 1.8
+++ solutionengine.c 20 May 2003 20:59:32 -0000 1.9
@@ -86,11 +86,11 @@
printk(KERN_NOTICE "Solution Engine: Flash at 0x%08lx, EPROM at 0x%08lx\n",
soleng_flash_map.phys & 0x1fffffff,
soleng_eprom_map.phys & 0x1fffffff);
- set_module_owner(flash_mtd);
+ flash_mtd->owner = THIS_MODULE;
eprom_mtd = do_map_probe("map_rom", &soleng_eprom_map);
if (eprom_mtd) {
- set_module_owner(eprom_mtd);
+ eprom_mtd->owner = THIS_MODULE;
add_mtd_device(eprom_mtd);
}
Index: sun_uflash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/sun_uflash.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sun_uflash.c 14 May 2003 22:26:31 -0000 1.6
+++ sun_uflash.c 20 May 2003 20:59:32 -0000 1.7
@@ -119,7 +119,7 @@
list_add(&pdev->list, &device_list);
- set_module_owner(pdev->mtd);
+ pdev->mtd->owner = THIS_MODULE;
add_mtd_device(pdev->mtd);
return(0);
Index: tqm8xxl.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/tqm8xxl.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- tqm8xxl.c 14 May 2003 22:26:31 -0000 1.6
+++ tqm8xxl.c 20 May 2003 20:59:32 -0000 1.7
@@ -175,7 +175,7 @@
mtd_banks[idx] = do_map_probe("cfi_probe", map_banks[idx]);
if (mtd_banks[idx]) {
- set_module_owner(mtd_banks[idx]);
+ mtd_banks[idx]->owner = THIS_MODULE;
mtd_size += mtd_banks[idx]->size;
num_banks++;
Index: tsunami_flash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/tsunami_flash.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- tsunami_flash.c 14 May 2003 22:26:31 -0000 1.3
+++ tsunami_flash.c 20 May 2003 20:59:32 -0000 1.4
@@ -93,7 +93,7 @@
tsunami_flash_mtd = do_map_probe(*type, &tsunami_flash_map);
}
if (tsunami_flash_mtd) {
- set_module_owner(tsunami_flash_mtd);
+ tsunami_flash_mtd->owner = THIS_MODULE;
add_mtd_device(tsunami_flash_mtd);
return 0;
}
Index: uclinux.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/uclinux.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- uclinux.c 14 May 2003 22:26:31 -0000 1.4
+++ uclinux.c 20 May 2003 20:59:32 -0000 1.5
@@ -85,7 +85,7 @@
return(-ENXIO);
}
- set_module_owner(mtd);
+ mtd->owner = THIS_MODULE;
mtd->point = uclinux_point;
mtd->priv = mapp;
Index: vmax301.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/vmax301.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- vmax301.c 14 May 2003 22:26:31 -0000 1.26
+++ vmax301.c 20 May 2003 20:59:32 -0000 1.27
@@ -220,7 +220,7 @@
if (!vmax_mtd[i])
vmax_mtd[i] = do_map_probe("map_rom", &vmax_map[i]);
if (vmax_mtd[i]) {
- set_module_owner(vmax_mtd[i]);
+ vmax_mtd[i]->owner = THIS_MODULE;
add_mtd_device(vmax_mtd[i]);
}
}
More information about the linux-mtd-cvs
mailing list