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>
(cherry picked from commit 7fe1b063d8eef2549bd53d618dcecb6723e1354c)

Change-Id: If3dbb3dfc7b2ab5a94846c0e11635cc1c2af563c
Signed-off-by: David Wu <david.wu@rock-chips.com>
This commit is contained in:
Mario Six 2018-01-15 11:06:53 +01:00 committed by David Wu
parent 7c1014244c
commit eda90cbc2a
2 changed files with 0 additions and 4 deletions

View File

@ -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;

View File

@ -8,8 +8,6 @@
#include <clk-uclass.h>
#include <dm.h>
DECLARE_GLOBAL_DATA_PTR;
struct clk_fixed_rate {
unsigned long fixed_rate;
};