diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-01-06 18:03:52 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-02-05 06:22:34 -0500 |
commit | 947af2943576400628bba085eaa6b85143526133 (patch) | |
tree | 0f5ac358d1abcd34c30f53fa1cc3e15160d4d0e5 /drivers | |
parent | 3d956d1dfffef3b19d743aa1a443ab5a300051cb (diff) |
Fix spelling of 'platform' in comments and doc
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/maps/plat-ram.c | 2 | ||||
-rw-r--r-- | drivers/net/cxgb3/sge.c | 4 | ||||
-rw-r--r-- | drivers/video/mbx/mbxfb.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c index dafb91944e70..76a76be5a7bd 100644 --- a/drivers/mtd/maps/plat-ram.c +++ b/drivers/mtd/maps/plat-ram.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * http://www.simtec.co.uk/products/SWLINUX/ | 4 | * http://www.simtec.co.uk/products/SWLINUX/ |
5 | * Ben Dooks <ben@simtec.co.uk> | 5 | * Ben Dooks <ben@simtec.co.uk> |
6 | * | 6 | * |
7 | * Generic platfrom device based RAM map | 7 | * Generic platform device based RAM map |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c index bdbd14727e4b..5dbc125822b9 100644 --- a/drivers/net/cxgb3/sge.c +++ b/drivers/net/cxgb3/sge.c | |||
@@ -196,13 +196,13 @@ static inline void refill_rspq(struct adapter *adapter, | |||
196 | /** | 196 | /** |
197 | * need_skb_unmap - does the platform need unmapping of sk_buffs? | 197 | * need_skb_unmap - does the platform need unmapping of sk_buffs? |
198 | * | 198 | * |
199 | * Returns true if the platfrom needs sk_buff unmapping. The compiler | 199 | * Returns true if the platform needs sk_buff unmapping. The compiler |
200 | * optimizes away unecessary code if this returns true. | 200 | * optimizes away unecessary code if this returns true. |
201 | */ | 201 | */ |
202 | static inline int need_skb_unmap(void) | 202 | static inline int need_skb_unmap(void) |
203 | { | 203 | { |
204 | /* | 204 | /* |
205 | * This structure is used to tell if the platfrom needs buffer | 205 | * This structure is used to tell if the platform needs buffer |
206 | * unmapping by checking if DECLARE_PCI_UNMAP_ADDR defines anything. | 206 | * unmapping by checking if DECLARE_PCI_UNMAP_ADDR defines anything. |
207 | */ | 207 | */ |
208 | struct dummy { | 208 | struct dummy { |
diff --git a/drivers/video/mbx/mbxfb.c b/drivers/video/mbx/mbxfb.c index 01f77bcc68f9..afea9abbd678 100644 --- a/drivers/video/mbx/mbxfb.c +++ b/drivers/video/mbx/mbxfb.c | |||
@@ -693,7 +693,7 @@ static void __devinit setup_memc(struct fb_info *fbi) | |||
693 | unsigned long tmp; | 693 | unsigned long tmp; |
694 | int i; | 694 | int i; |
695 | 695 | ||
696 | /* FIXME: use platfrom specific parameters */ | 696 | /* FIXME: use platform specific parameters */ |
697 | /* setup SDRAM controller */ | 697 | /* setup SDRAM controller */ |
698 | write_reg_dly((LMCFG_LMC_DS | LMCFG_LMC_TS | LMCFG_LMD_TS | | 698 | write_reg_dly((LMCFG_LMC_DS | LMCFG_LMC_TS | LMCFG_LMD_TS | |
699 | LMCFG_LMA_TS), | 699 | LMCFG_LMA_TS), |