···11+/* linux/include/asm/arch-s3c2410/ts.h22+ *33+ * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>44+ *55+ * This program is free software; you can redistribute it and/or modify66+ * it under the terms of the GNU General Public License version 2 as77+ * published by the Free Software Foundation.88+*/99+1010+#ifndef __ASM_ARM_TS_H1111+#define __ASM_ARM_TS_H1212+1313+struct s3c2410_ts_mach_info {1414+ int delay;1515+ int presc;1616+ int oversampling_shift;1717+};1818+1919+extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *);2020+2121+#endif /* __ASM_ARM_TS_H */
···114114115115 for (i = 0; i < npd->nr_sets; i++) {116116 ret = s3c_nand_copy_set(to);117117- if (!ret) {117117+ if (ret) {118118 printk(KERN_ERR "%s: failed to copy set %d\n",119119 __func__, i);120120 return;···122122 to++;123123 }124124 }125125+126126+ s3c_device_nand.dev.platform_data = npd;125127}126128127129EXPORT_SYMBOL_GPL(s3c_nand_set_platdata);