diff options
author | Mario Six <mario.six@gdsys.cc> | 2018-01-15 11:06:53 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-01-21 10:01:02 -0700 |
commit | 7fe1b063d8eef2549bd53d618dcecb6723e1354c (patch) | |
tree | 889b6b789efdf89e610c2403fa38a07fa3273b2e /drivers/clk | |
parent | e2db9e7a06ad4b9eb174859c2a27856fd2af97ad (diff) | |
download | u-boot-7fe1b063d8eef2549bd53d618dcecb6723e1354c.tar.gz |
clk: Remove superfluous gd declarations
The clk uclass was converted to support a live device tree recently,
hence the global data pointer declarations are no longer needed.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/clk-uclass.c | 2 | ||||
-rw-r--r-- | drivers/clk/clk_fixed_rate.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c index 32be2e85c5..fbea72091b 100644 --- a/drivers/clk/clk-uclass.c +++ b/drivers/clk/clk-uclass.c @@ -13,8 +13,6 @@ #include <dt-structs.h> #include <errno.h> -DECLARE_GLOBAL_DATA_PTR; - static inline const struct clk_ops *clk_dev_ops(struct udevice *dev) { return (const struct clk_ops *)dev->driver->ops; diff --git a/drivers/clk/clk_fixed_rate.c b/drivers/clk/clk_fixed_rate.c index 9dd6bc5726..c9a9f0a20b 100644 --- a/drivers/clk/clk_fixed_rate.c +++ b/drivers/clk/clk_fixed_rate.c @@ -8,8 +8,6 @@ #include <clk-uclass.h> #include <dm.h> -DECLARE_GLOBAL_DATA_PTR; - struct clk_fixed_rate { unsigned long fixed_rate; }; |