Skip to content
Commit 7b4ffe8c authored by Francois Berder's avatar Francois Berder Committed by Eugen Hristev
Browse files

clk: at91: Fix initializing arrays



Arrays are not cleared entirely because ARRAY_SIZE
returns the number of elements in an array, not the size
in bytes.
This commit fixes the calls to memset by providing the
array size in bytes instead of the number of elements
in the array.

Signed-off-by: default avatarFrancois Berder <fberder@outlook.fr>
parent d6b4359e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment