diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2019-01-16 06:44:17 +0100 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2019-02-01 06:05:58 +0100 |
commit | 722f761084bd1e1a26ba096b48ba8c09048413a1 (patch) | |
tree | f89b2f36251a2743d09227cea29025948a9c85f4 /drivers/soc | |
parent | soc: bcm: Make PM driver default for BCM2835 (diff) | |
download | linux-722f761084bd1e1a26ba096b48ba8c09048413a1.tar.xz linux-722f761084bd1e1a26ba096b48ba8c09048413a1.zip |
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: 670c672608a1 ("soc: bcm: bcm2835-pm: Add support for power domains under a new binding.")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r-- | drivers/soc/bcm/bcm2835-power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/bcm/bcm2835-power.c b/drivers/soc/bcm/bcm2835-power.c index 48412957ec7a..9351349cf0a9 100644 --- a/drivers/soc/bcm/bcm2835-power.c +++ b/drivers/soc/bcm/bcm2835-power.c @@ -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, }; |