diff options
Diffstat (limited to 'drivers/clk/clk_boston.c')
-rw-r--r-- | drivers/clk/clk_boston.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/clk_boston.c b/drivers/clk/clk_boston.c index 75e2e43842..374fc9ac76 100644 --- a/drivers/clk/clk_boston.c +++ b/drivers/clk/clk_boston.c @@ -28,7 +28,7 @@ static uint32_t ext_field(uint32_t val, uint32_t mask) static ulong clk_boston_get_rate(struct clk *clk) { - struct clk_boston *state = dev_get_platdata(clk->dev); + struct clk_boston *state = dev_get_plat(clk->dev); uint32_t in_rate, mul, div; uint mmcmdiv; int err; @@ -60,7 +60,7 @@ const struct clk_ops clk_boston_ops = { static int clk_boston_ofdata_to_platdata(struct udevice *dev) { - struct clk_boston *state = dev_get_platdata(dev); + struct clk_boston *state = dev_get_plat(dev); struct udevice *syscon; int err; |