openwrt/target/linux/s3c24xx/patches-2.6.24/1274-mach-gta02-spell-fixes.patch.patch

60 lines
2.1 KiB
Diff

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