]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
Fix spelling of 'platform' in comments and doc
authorStefan Weil <weil@mail.berlios.de>
Wed, 6 Jan 2010 23:03:52 +0000 (00:03 +0100)
committerJiri Kosina <jkosina@suse.cz>
Fri, 5 Feb 2010 11:22:34 +0000 (12:22 +0100)
Replace platfrom -> platform.

This is a frequent spelling bug.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/driver-model/platform.txt
arch/arm/mach-davinci/include/mach/i2c.h
arch/arm/mach-s3c2410/include/mach/spi-gpio.h
arch/arm/plat-s3c/include/plat/nand.h
arch/blackfin/include/asm/nand.h
arch/powerpc/kernel/legacy_serial.c
drivers/mtd/maps/plat-ram.c
drivers/net/cxgb3/sge.c
drivers/video/mbx/mbxfb.c
include/linux/dm9000.h

index 2e2c2ea90ceb1d490e019c7a1132eb812bfb6a9f..41f41632ee550795e21d8207fb07c6b6372e3de6 100644 (file)
@@ -192,7 +192,7 @@ command line. This will execute all matching early_param() callbacks.
 User specified early platform devices will be registered at this point.
 For the early serial console case the user can specify port on the
 kernel command line as "earlyprintk=serial.0" where "earlyprintk" is
-the class string, "serial" is the name of the platfrom driver and
+the class string, "serial" is the name of the platform driver and
 0 is the platform device id. If the id is -1 then the dot and the
 id can be omitted.
 
index c248e9b7e82517c619b0fe74db18c4d3e88a2797..44bdea13cc8c937b3ea8dca2dfe9c4e51dec479b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * DaVinci I2C controller platfrom_device info
+ * DaVinci I2C controller platform_device info
  *
  * Author: Vladimir Barinov, MontaVista Software, Inc. <source@mvista.com>
  *
index 980a099e209cf26840724828d90c3b68eff7123c..dcef2287cb38ae24e667fc661f818168aa927c37 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (c) 2006 Simtec Electronics
  *     Ben Dooks <ben@simtec.co.uk>
  *
- * S3C2410 - SPI Controller platfrom_device info
+ * S3C2410 - SPI Controller platform_device info
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
index 226147b7e0261ee3d17434ce3fa452461c837e50..b64115fa93a4dcff04adc74e24c8573388ac2db3 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (c) 2004 Simtec Electronics
  *     Ben Dooks <ben@simtec.co.uk>
  *
- * S3C2410 - NAND device controller platfrom_device info
+ * S3C2410 - NAND device controller platform_device info
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
index 3ae8b569edfc416414e1608a5b47e20eeda7efcc..3a1e79dfc8d92636ab94b17129a7f291c01e4859 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * BF5XX - NAND flash controller platfrom_device info
+ * BF5XX - NAND flash controller platform_device info
  *
  * Copyright 2007-2008 Analog Devices, Inc.
  *
@@ -8,7 +8,7 @@
 
 /* struct bf5xx_nand_platform
  *
- * define a interface between platfrom board specific code and
+ * define a interface between platform board specific code and
  * bf54x NFC driver.
  *
  * nr_partitions = number of partitions pointed to be partitoons (or zero)
index 9ddfaef1a184564fb85f2919220fe4d99c33aad9..035ada5443ee4e17cc6c0fc3fd2165505820b43e 100644 (file)
@@ -469,7 +469,7 @@ static int __init serial_dev_init(void)
                return -ENODEV;
 
        /*
-        * Before we register the platfrom serial devices, we need
+        * Before we register the platform serial devices, we need
         * to fixup their interrupts and their IO ports.
         */
        DBG("Fixing serial ports interrupts and IO ports ...\n");
index dafb91944e7027db4103ab8d5a51329ac6a69660..76a76be5a7bd7fec98e698b0a83ab264633d5a3a 100644 (file)
@@ -4,7 +4,7 @@
  *     http://www.simtec.co.uk/products/SWLINUX/
  *     Ben Dooks <ben@simtec.co.uk>
  *
- * Generic platfrom device based RAM map
+ * Generic platform device based RAM map
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index bdbd14727e4b232987632fb19f114510e6068837..5dbc125822b9aaf22825a6d0a67636a006756e4e 100644 (file)
@@ -196,13 +196,13 @@ static inline void refill_rspq(struct adapter *adapter,
 /**
  *     need_skb_unmap - does the platform need unmapping of sk_buffs?
  *
- *     Returns true if the platfrom needs sk_buff unmapping.  The compiler
+ *     Returns true if the platform needs sk_buff unmapping.  The compiler
  *     optimizes away unecessary code if this returns true.
  */
 static inline int need_skb_unmap(void)
 {
        /*
-        * This structure is used to tell if the platfrom needs buffer
+        * This structure is used to tell if the platform needs buffer
         * unmapping by checking if DECLARE_PCI_UNMAP_ADDR defines anything.
         */
        struct dummy {
index 01f77bcc68f9f3806488054fc9adf0a559310a2a..afea9abbd6780a669d124b5aa2aeb6c9c0c509f2 100644 (file)
@@ -693,7 +693,7 @@ static void __devinit setup_memc(struct fb_info *fbi)
        unsigned long tmp;
        int i;
 
-       /* FIXME: use platfrom specific parameters */
+       /* FIXME: use platform specific parameters */
        /* setup SDRAM controller */
        write_reg_dly((LMCFG_LMC_DS | LMCFG_LMC_TS | LMCFG_LMD_TS |
                LMCFG_LMA_TS),
index c30879cf93bc7f522f25579d3e7fbbc59ae60e00..96e87693d93349c92563585f1abf59efd8d4c029 100644 (file)
@@ -23,7 +23,7 @@
 #define DM9000_PLATF_NO_EEPROM (0x0010)
 #define DM9000_PLATF_SIMPLE_PHY (0x0020)  /* Use NSR to find LinkStatus */
 
-/* platfrom data for platfrom device structure's platfrom_data field */
+/* platform data for platform device structure's platform_data field */
 
 struct dm9000_plat_data {
        unsigned int    flags;