diff options
Diffstat (limited to 'drivers/mtd/nand/s3c2410.c')
-rw-r--r-- | drivers/mtd/nand/s3c2410.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c index d209214b1318..5b55599739f3 100644 --- a/drivers/mtd/nand/s3c2410.c +++ b/drivers/mtd/nand/s3c2410.c | |||
@@ -53,6 +53,7 @@ | |||
53 | #include <linux/delay.h> | 53 | #include <linux/delay.h> |
54 | #include <linux/err.h> | 54 | #include <linux/err.h> |
55 | #include <linux/slab.h> | 55 | #include <linux/slab.h> |
56 | #include <linux/clk.h> | ||
56 | 57 | ||
57 | #include <linux/mtd/mtd.h> | 58 | #include <linux/mtd/mtd.h> |
58 | #include <linux/mtd/nand.h> | 59 | #include <linux/mtd/nand.h> |
@@ -60,7 +61,6 @@ | |||
60 | #include <linux/mtd/partitions.h> | 61 | #include <linux/mtd/partitions.h> |
61 | 62 | ||
62 | #include <asm/io.h> | 63 | #include <asm/io.h> |
63 | #include <asm/hardware/clock.h> | ||
64 | 64 | ||
65 | #include <asm/arch/regs-nand.h> | 65 | #include <asm/arch/regs-nand.h> |
66 | #include <asm/arch/nand.h> | 66 | #include <asm/arch/nand.h> |
@@ -460,7 +460,6 @@ static int s3c2410_nand_remove(struct platform_device *pdev) | |||
460 | 460 | ||
461 | if (info->clk != NULL && !IS_ERR(info->clk)) { | 461 | if (info->clk != NULL && !IS_ERR(info->clk)) { |
462 | clk_disable(info->clk); | 462 | clk_disable(info->clk); |
463 | clk_unuse(info->clk); | ||
464 | clk_put(info->clk); | 463 | clk_put(info->clk); |
465 | } | 464 | } |
466 | 465 | ||
@@ -598,7 +597,6 @@ static int s3c24xx_nand_probe(struct platform_device *pdev, int is_s3c2440) | |||
598 | goto exit_error; | 597 | goto exit_error; |
599 | } | 598 | } |
600 | 599 | ||
601 | clk_use(info->clk); | ||
602 | clk_enable(info->clk); | 600 | clk_enable(info->clk); |
603 | 601 | ||
604 | /* allocate and map the resource */ | 602 | /* allocate and map the resource */ |