diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 10:51:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 10:51:45 -0400 |
commit | 342ff1a1b558ebbdb8cbd55ab6a63eca8b2473ca (patch) | |
tree | 1f967f283dade6e03897169bb29513354f49f910 /drivers/mtd | |
parent | 50223e486cabdcf7e540e519da1f26bab3084e5d (diff) | |
parent | 24ed7a97464db44592495f98cff8bcee02f92bc2 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (34 commits)
trivial: fix typo in aic7xxx comment
trivial: fix comment typo in drivers/ata/pata_hpt37x.c
trivial: typo in kernel-parameters.txt
trivial: fix typo in tracing documentation
trivial: add __init/__exit macros in drivers/gpio/bt8xxgpio.c
trivial: add __init macro/ fix of __exit macro location in ipmi_poweroff.c
trivial: remove unnecessary semicolons
trivial: Fix duplicated word "options" in comment
trivial: kbuild: remove extraneous blank line after declaration of usage()
trivial: improve help text for mm debug config options
trivial: doc: hpfall: accept disk device to unload as argument
trivial: doc: hpfall: reduce risk that hpfall can do harm
trivial: SubmittingPatches: Fix reference to renumbered step
trivial: fix typos "man[ae]g?ment" -> "management"
trivial: media/video/cx88: add __init/__exit macros to cx88 drivers
trivial: fix typo in CONFIG_DEBUG_FS in gcov doc
trivial: fix missing printk space in amd_k7_smp_check
trivial: fix typo s/ketymap/keymap/ in comment
trivial: fix typo "to to" in multiple files
trivial: fix typos in comments s/DGBU/DBGU/
...
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/devices/m25p80.c | 4 | ||||
-rw-r--r-- | drivers/mtd/devices/slram.c | 2 | ||||
-rw-r--r-- | drivers/mtd/ftl.c | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/ixp2000.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/cafe_nand.c | 4 | ||||
-rw-r--r-- | drivers/mtd/nand/cmx270_nand.c | 4 | ||||
-rw-r--r-- | drivers/mtd/ubi/eba.c | 2 | ||||
-rw-r--r-- | drivers/mtd/ubi/ubi.h | 2 |
8 files changed, 11 insertions, 11 deletions
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 10ed195c0c1c..eb495d83064f 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c | |||
@@ -776,13 +776,13 @@ static struct spi_driver m25p80_driver = { | |||
776 | }; | 776 | }; |
777 | 777 | ||
778 | 778 | ||
779 | static int m25p80_init(void) | 779 | static int __init m25p80_init(void) |
780 | { | 780 | { |
781 | return spi_register_driver(&m25p80_driver); | 781 | return spi_register_driver(&m25p80_driver); |
782 | } | 782 | } |
783 | 783 | ||
784 | 784 | ||
785 | static void m25p80_exit(void) | 785 | static void __exit m25p80_exit(void) |
786 | { | 786 | { |
787 | spi_unregister_driver(&m25p80_driver); | 787 | spi_unregister_driver(&m25p80_driver); |
788 | } | 788 | } |
diff --git a/drivers/mtd/devices/slram.c b/drivers/mtd/devices/slram.c index 00248e81ecd5..7d846e9173da 100644 --- a/drivers/mtd/devices/slram.c +++ b/drivers/mtd/devices/slram.c | |||
@@ -303,7 +303,7 @@ __setup("slram=", mtd_slram_setup); | |||
303 | 303 | ||
304 | #endif | 304 | #endif |
305 | 305 | ||
306 | static int init_slram(void) | 306 | static int __init init_slram(void) |
307 | { | 307 | { |
308 | char *devname; | 308 | char *devname; |
309 | int i; | 309 | int i; |
diff --git a/drivers/mtd/ftl.c b/drivers/mtd/ftl.c index a790c062af1f..e56d6b42f020 100644 --- a/drivers/mtd/ftl.c +++ b/drivers/mtd/ftl.c | |||
@@ -1099,7 +1099,7 @@ static struct mtd_blktrans_ops ftl_tr = { | |||
1099 | .owner = THIS_MODULE, | 1099 | .owner = THIS_MODULE, |
1100 | }; | 1100 | }; |
1101 | 1101 | ||
1102 | static int init_ftl(void) | 1102 | static int __init init_ftl(void) |
1103 | { | 1103 | { |
1104 | return register_mtd_blktrans(&ftl_tr); | 1104 | return register_mtd_blktrans(&ftl_tr); |
1105 | } | 1105 | } |
diff --git a/drivers/mtd/maps/ixp2000.c b/drivers/mtd/maps/ixp2000.c index d4fb9a3ab4df..1bdf0ee6d0b6 100644 --- a/drivers/mtd/maps/ixp2000.c +++ b/drivers/mtd/maps/ixp2000.c | |||
@@ -184,7 +184,7 @@ static int ixp2000_flash_probe(struct platform_device *dev) | |||
184 | info->map.bankwidth = 1; | 184 | info->map.bankwidth = 1; |
185 | 185 | ||
186 | /* | 186 | /* |
187 | * map_priv_2 is used to store a ptr to to the bank_setup routine | 187 | * map_priv_2 is used to store a ptr to the bank_setup routine |
188 | */ | 188 | */ |
189 | info->map.map_priv_2 = (unsigned long) ixp_data->bank_setup; | 189 | info->map.map_priv_2 = (unsigned long) ixp_data->bank_setup; |
190 | 190 | ||
diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c index 29acd06b1c39..1b4690bdfdb3 100644 --- a/drivers/mtd/nand/cafe_nand.c +++ b/drivers/mtd/nand/cafe_nand.c | |||
@@ -903,12 +903,12 @@ static struct pci_driver cafe_nand_pci_driver = { | |||
903 | .resume = cafe_nand_resume, | 903 | .resume = cafe_nand_resume, |
904 | }; | 904 | }; |
905 | 905 | ||
906 | static int cafe_nand_init(void) | 906 | static int __init cafe_nand_init(void) |
907 | { | 907 | { |
908 | return pci_register_driver(&cafe_nand_pci_driver); | 908 | return pci_register_driver(&cafe_nand_pci_driver); |
909 | } | 909 | } |
910 | 910 | ||
911 | static void cafe_nand_exit(void) | 911 | static void __exit cafe_nand_exit(void) |
912 | { | 912 | { |
913 | pci_unregister_driver(&cafe_nand_pci_driver); | 913 | pci_unregister_driver(&cafe_nand_pci_driver); |
914 | } | 914 | } |
diff --git a/drivers/mtd/nand/cmx270_nand.c b/drivers/mtd/nand/cmx270_nand.c index 10081e656a6f..826cacffcefc 100644 --- a/drivers/mtd/nand/cmx270_nand.c +++ b/drivers/mtd/nand/cmx270_nand.c | |||
@@ -147,7 +147,7 @@ static int cmx270_device_ready(struct mtd_info *mtd) | |||
147 | /* | 147 | /* |
148 | * Main initialization routine | 148 | * Main initialization routine |
149 | */ | 149 | */ |
150 | static int cmx270_init(void) | 150 | static int __init cmx270_init(void) |
151 | { | 151 | { |
152 | struct nand_chip *this; | 152 | struct nand_chip *this; |
153 | const char *part_type; | 153 | const char *part_type; |
@@ -261,7 +261,7 @@ module_init(cmx270_init); | |||
261 | /* | 261 | /* |
262 | * Clean up routine | 262 | * Clean up routine |
263 | */ | 263 | */ |
264 | static void cmx270_cleanup(void) | 264 | static void __exit cmx270_cleanup(void) |
265 | { | 265 | { |
266 | /* Release resources, unregister device */ | 266 | /* Release resources, unregister device */ |
267 | nand_release(cmx270_nand_mtd); | 267 | nand_release(cmx270_nand_mtd); |
diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c index e4d9ef0c965a..9f87c99189a9 100644 --- a/drivers/mtd/ubi/eba.c +++ b/drivers/mtd/ubi/eba.c | |||
@@ -1065,7 +1065,7 @@ int ubi_eba_copy_leb(struct ubi_device *ubi, int from, int to, | |||
1065 | } | 1065 | } |
1066 | 1066 | ||
1067 | /* | 1067 | /* |
1068 | * Now we have got to calculate how much data we have to to copy. In | 1068 | * Now we have got to calculate how much data we have to copy. In |
1069 | * case of a static volume it is fairly easy - the VID header contains | 1069 | * case of a static volume it is fairly easy - the VID header contains |
1070 | * the data size. In case of a dynamic volume it is more difficult - we | 1070 | * the data size. In case of a dynamic volume it is more difficult - we |
1071 | * have to read the contents, cut 0xFF bytes from the end and copy only | 1071 | * have to read the contents, cut 0xFF bytes from the end and copy only |
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index c290f51dd178..1af08178defd 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h | |||
@@ -570,7 +570,7 @@ void ubi_do_get_volume_info(struct ubi_device *ubi, struct ubi_volume *vol, | |||
570 | 570 | ||
571 | /* | 571 | /* |
572 | * ubi_rb_for_each_entry - walk an RB-tree. | 572 | * ubi_rb_for_each_entry - walk an RB-tree. |
573 | * @rb: a pointer to type 'struct rb_node' to to use as a loop counter | 573 | * @rb: a pointer to type 'struct rb_node' to use as a loop counter |
574 | * @pos: a pointer to RB-tree entry type to use as a loop counter | 574 | * @pos: a pointer to RB-tree entry type to use as a loop counter |
575 | * @root: RB-tree's root | 575 | * @root: RB-tree's root |
576 | * @member: the name of the 'struct rb_node' within the RB-tree entry | 576 | * @member: the name of the 'struct rb_node' within the RB-tree entry |