mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
reset: bcm6345: 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:
@@ -49,7 +49,7 @@ static int bcm6345_reset_request(struct reset_ctl *rst)
|
||||
return bcm6345_reset_assert(rst);
|
||||
}
|
||||
|
||||
struct reset_ops bcm6345_reset_reset_ops = {
|
||||
static const struct reset_ops bcm6345_reset_reset_ops = {
|
||||
.request = bcm6345_reset_request,
|
||||
.rst_assert = bcm6345_reset_assert,
|
||||
.rst_deassert = bcm6345_reset_deassert,
|
||||
|
||||
Reference in New Issue
Block a user