diff options
author | Pankaj Dubey <pankaj.dubey@samsung.com> | 2014-09-29 03:47:48 -0400 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2014-12-02 10:21:37 -0500 |
commit | 8b2f63606a1322bd051e15913a8233295e8a7599 (patch) | |
tree | 7061d1fdeb70149b9f98b91d8382482b2bcf980f | |
parent | 7882857e98354866c6ae0b32dfb82c8e8e82cf28 (diff) |
clk: samsung: remove unnecessary inclusion of header files from clk.h
Let's remove unnecessary include of header files from clk.h and add
required one in clk.c
Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
[s.nawrocki@samsung.com: dropped removal of '#include <linux/syscore_ops.h>']
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
-rw-r--r-- | drivers/clk/samsung/clk.c | 2 | ||||
-rw-r--r-- | drivers/clk/samsung/clk.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/clk/samsung/clk.c b/drivers/clk/samsung/clk.c index 1b4cf3b87b73..4bda54095a16 100644 --- a/drivers/clk/samsung/clk.c +++ b/drivers/clk/samsung/clk.c | |||
@@ -11,7 +11,9 @@ | |||
11 | * clock framework for Samsung platforms. | 11 | * clock framework for Samsung platforms. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <linux/of_address.h> | ||
14 | #include <linux/syscore_ops.h> | 15 | #include <linux/syscore_ops.h> |
16 | |||
15 | #include "clk.h" | 17 | #include "clk.h" |
16 | 18 | ||
17 | static LIST_HEAD(clock_reg_cache_list); | 19 | static LIST_HEAD(clock_reg_cache_list); |
diff --git a/drivers/clk/samsung/clk.h b/drivers/clk/samsung/clk.h index 101a43b5c39e..8acabe1f32c4 100644 --- a/drivers/clk/samsung/clk.h +++ b/drivers/clk/samsung/clk.h | |||
@@ -13,12 +13,8 @@ | |||
13 | #ifndef __SAMSUNG_CLK_H | 13 | #ifndef __SAMSUNG_CLK_H |
14 | #define __SAMSUNG_CLK_H | 14 | #define __SAMSUNG_CLK_H |
15 | 15 | ||
16 | #include <linux/clk.h> | ||
17 | #include <linux/clkdev.h> | 16 | #include <linux/clkdev.h> |
18 | #include <linux/io.h> | ||
19 | #include <linux/clk-provider.h> | 17 | #include <linux/clk-provider.h> |
20 | #include <linux/of.h> | ||
21 | #include <linux/of_address.h> | ||
22 | #include "clk-pll.h" | 18 | #include "clk-pll.h" |
23 | 19 | ||
24 | /** | 20 | /** |