]> git.ipfire.org Git - thirdparty/u-boot.git/commit
usb: dwc3: sti: Staticize and constify driver ops
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 10 May 2026 17:16:32 +0000 (19:16 +0200)
committerMarek Vasut <marek.vasut+usb@mailbox.org>
Wed, 3 Jun 2026 00:00:59 +0000 (02:00 +0200)
commitf0dccb21eb6ea81883089ca2c063932762267a88
treebcbc6caf15faa97d2754e2556fdcc04351f2d996
parentd86b3a753fee2068ab59c7c9be3e973b26de535d
usb: dwc3: sti: 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: Mattijs Korpershoek <mkorpershoek@kernel.org>
drivers/usb/dwc3/dwc3-generic-sti.c