From 093ec6656ab7fb523b8a811f4bd628e3b50f8367 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Fri, 31 Dec 2010 19:46:09 +0800 Subject: NAND/S3CXXXX: remove private "target" copy Remove "target" form private data, and use common one in struct nand_block. Signed-off-by: Antonio Borneo --- src/flash/nand/s3c6400.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/flash/nand/s3c6400.c') diff --git a/src/flash/nand/s3c6400.c b/src/flash/nand/s3c6400.c index 960447d9..a6f80431 100644 --- a/src/flash/nand/s3c6400.c +++ b/src/flash/nand/s3c6400.c @@ -43,8 +43,7 @@ NAND_DEVICE_COMMAND_HANDLER(s3c6400_nand_device_command) static int s3c6400_init(struct nand_device *nand) { - struct s3c24xx_nand_controller *s3c24xx_info = nand->controller_priv; - struct target *target = s3c24xx_info->target; + struct target *target = nand->target; target_write_u32(target, S3C2410_NFCONF, S3C2440_NFCONF_TACLS(3) | -- cgit v1.2.3