diff options
Diffstat (limited to 'arch/arm/plat-s3c24xx')
-rw-r--r-- | arch/arm/plat-s3c24xx/devs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/plat-s3c24xx/devs.c b/arch/arm/plat-s3c24xx/devs.c index fbba93d61c1..0fdaa54ada9 100644 --- a/arch/arm/plat-s3c24xx/devs.c +++ b/arch/arm/plat-s3c24xx/devs.c @@ -211,9 +211,10 @@ EXPORT_SYMBOL(s3c_device_ts); static struct s3c2410_ts_mach_info s3c2410ts_info; -void set_s3c2410ts_info(struct s3c2410_ts_mach_info *hard_s3c2410ts_info) +void set_s3c2410ts_info(const struct s3c2410_ts_mach_info *hard_s3c2410ts_info) { - memcpy(&s3c2410ts_info,hard_s3c2410ts_info,sizeof(struct s3c2410_ts_mach_info)); + memcpy(&s3c2410ts_info, hard_s3c2410ts_info, + sizeof(struct s3c2410_ts_mach_info)); s3c_device_ts.dev.platform_data = &s3c2410ts_info; } EXPORT_SYMBOL(set_s3c2410ts_info); |