]> git.ipfire.org Git - thirdparty/u-boot.git/commit
spi: apple: Staticize and constify driver ops
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 10 May 2026 17:16:17 +0000 (19:16 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 18 May 2026 22:56:07 +0000 (16:56 -0600)
commit05f76ca898b4fa98b9f875013447a3533d627ca3
treef4cc4842a42fbeb518be2fe215a682128404933f
parent50e6cda6b6b50b43940687b32c40b7cdd8d707dc
spi: apple: 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>
Acked-by: Mark Kettenis <kettenis@openbsd.org>
drivers/spi/apple_spi.c