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