mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
reset: raspberrypi: 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>
This commit is contained in:
@@ -28,7 +28,7 @@ static int raspberrypi_reset_assert(struct reset_ctl *reset_ctl)
|
||||
}
|
||||
}
|
||||
|
||||
struct reset_ops raspberrypi_reset_ops = {
|
||||
static const struct reset_ops raspberrypi_reset_ops = {
|
||||
.request = raspberrypi_reset_request,
|
||||
.rst_assert = raspberrypi_reset_assert,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user