diff options
Diffstat (limited to 'drivers/clk/at91/sam9x60.c')
-rw-r--r-- | drivers/clk/at91/sam9x60.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/at91/sam9x60.c b/drivers/clk/at91/sam9x60.c index e2f72446d50..d858c860f69 100644 --- a/drivers/clk/at91/sam9x60.c +++ b/drivers/clk/at91/sam9x60.c @@ -429,8 +429,8 @@ static int sam9x60_clk_probe(struct udevice *dev) if (!base) return -EINVAL; - memset(muxallocs, 0, ARRAY_SIZE(muxallocs)); - memset(clkmuxallocs, 0, ARRAY_SIZE(clkmuxallocs)); + memset(muxallocs, 0, sizeof(muxallocs)); + memset(clkmuxallocs, 0, sizeof(clkmuxallocs)); ret = clk_get_by_index(dev, 0, &clk); if (ret) |