Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 722f7610 authored by Wei Yongjun's avatar Wei Yongjun Committed by Florian Fainelli
Browse files

soc: bcm: bcm2835-pm: Make local symbol static



Fixes the following sparse warning:

drivers/soc/bcm/bcm2835-power.c:556:32: warning:
 symbol 'bcm2835_reset_ops' was not declared. Should it be static?

Fixes: 670c6726 ("soc: bcm: bcm2835-pm: Add support for power domains under a new binding.")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Acked-by: default avatarScott Branden <scott.branden@broadcom.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent f494caa4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -553,7 +553,7 @@ static int bcm2835_reset_status(struct reset_controller_dev *rcdev,
	}
}

const struct reset_control_ops bcm2835_reset_ops = {
static const struct reset_control_ops bcm2835_reset_ops = {
	.reset = bcm2835_reset_reset,
	.status = bcm2835_reset_status,
};