aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/sge.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-01-06 18:03:52 -0500
committerJiri Kosina <jkosina@suse.cz>2010-02-05 06:22:34 -0500
commit947af2943576400628bba085eaa6b85143526133 (patch)
tree0f5ac358d1abcd34c30f53fa1cc3e15160d4d0e5 /drivers/net/cxgb3/sge.c
parent3d956d1dfffef3b19d743aa1a443ab5a300051cb (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/net/cxgb3/sge.c')
-rw-r--r--drivers/net/cxgb3/sge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c
index bdbd14727e4..5dbc125822b 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 */
202static inline int need_skb_unmap(void) 202static 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 {