]> git.ipfire.org Git - thirdparty/u-boot.git/commit
nvme: Staticize and constify driver ops
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 8 May 2026 12:21:21 +0000 (14:21 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Wed, 20 May 2026 07:44:37 +0000 (09:44 +0200)
commit4e91d9ff3324866d5cdfc0bc73e3382ce6fcc3d7
treef386395f082989e199e41dab7426330448ae0eba
parent63f0f19803ee28a3612dfbef719ae7bac5143eef
nvme: Staticize and constify driver ops

Set the ops structure as static const. The structure is not accessible
from outside of this driver and is not going to be modified at runtime.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260508122128.512798-1-marek.vasut+renesas@mailbox.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
drivers/nvme/nvme-uclass.c