Skip to content
Commit 9d880452 authored by Colin Ian King's avatar Colin Ian King Committed by Vinod Koul
Browse files

dmaengine: amd: qdma: make read-only arrays h2c_types and c2h_types static const



Don't populate the read-only arrays h2c_types and c2h_types on the
stack at run time, instead make them static const.

Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20240912131017.588141-1-colin.i.king@gmail.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 24947be1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment