Skip to content
Commit e110978d authored by Colin Ian King's avatar Colin Ian King Committed by Jakub Kicinski
Browse files

nfc: pn544: make array rset_cmd static const



Don't populate the read-only array rset_cmd on the stack but
instead it static const. Also makes the object code a little smaller.

Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20220109202418.50641-1-colin.i.king@gmail.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent cb963a19
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment