summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches-2.6.24/1274-mach-gta02-spell-fixes.patch.patch
blob: d5bf3d7095781e67b63d8a0ebb6211b73f762c00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
From d2703a13c696b5e4befbd17469bc6afd3d0a0066 Mon Sep 17 00:00:00 2001
From: Simon Kagstrom <simon.kagstrom@gmail.com>
Date: Wed, 13 Aug 2008 11:27:04 +0100
Subject: [PATCH] mach-gta02-spell-fixes.patch

Fix spelling error on function name

Signed-off-by: Simon Kagstrom <simon.kagstrom@gmail.com>
---
 arch/arm/mach-s3c2440/mach-gta02.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c
index f991f9a..ff3c3c0 100644
--- a/arch/arm/mach-s3c2440/mach-gta02.c
+++ b/arch/arm/mach-s3c2440/mach-gta02.c
@@ -1053,7 +1053,7 @@ static struct platform_device gta02_vibrator_dev = {
 
 struct lis302dl_platform_data lis302_pdata[];
 
-void gat02_lis302dl_bitbang_read(struct lis302dl_info *lis)
+void gta02_lis302dl_bitbang_read(struct lis302dl_info *lis)
 {
 	struct lis302dl_platform_data *pdata = lis->pdata;
 	u8 shifter = 0xc0 | LIS302DL_REG_OUT_X; /* read, autoincrement */
@@ -1136,7 +1136,7 @@ void gat02_lis302dl_bitbang_read(struct lis302dl_info *lis)
 }
 
 
-void gat02_lis302dl_suspend_io(struct lis302dl_info *lis, int resume)
+void gta02_lis302dl_suspend_io(struct lis302dl_info *lis, int resume)
 {
 	struct lis302dl_platform_data *pdata = lis->pdata;
 
@@ -1168,8 +1168,8 @@ struct lis302dl_platform_data lis302_pdata[] = {
 		.pin_mosi	= S3C2410_GPG6,
 		.pin_miso	= S3C2410_GPG5,
 		.open_drain	= 1, /* altered at runtime by PCB rev */
-		.lis302dl_bitbang_read = gat02_lis302dl_bitbang_read,
-		.lis302dl_suspend_io = gat02_lis302dl_suspend_io,
+		.lis302dl_bitbang_read = gta02_lis302dl_bitbang_read,
+		.lis302dl_suspend_io = gta02_lis302dl_suspend_io,
 	}, {
 		.name		= "lis302-2 (bottom)",
 		.pin_chip_select= S3C2410_GPD13,
@@ -1177,8 +1177,8 @@ struct lis302dl_platform_data lis302_pdata[] = {
 		.pin_mosi	= S3C2410_GPG6,
 		.pin_miso	= S3C2410_GPG5,
 		.open_drain	= 1, /* altered at runtime by PCB rev */
-		.lis302dl_bitbang_read = gat02_lis302dl_bitbang_read,
-		.lis302dl_suspend_io = gat02_lis302dl_suspend_io,
+		.lis302dl_bitbang_read = gta02_lis302dl_bitbang_read,
+		.lis302dl_suspend_io = gta02_lis302dl_suspend_io,
 	},
 };
 
-- 
1.5.6.5