]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(st-pmic): add static const to pmic_ops
authorYann Gautier <yann.gautier@st.com>
Wed, 9 Feb 2022 16:35:45 +0000 (17:35 +0100)
committerYann Gautier <yann.gautier@st.com>
Tue, 8 Mar 2022 12:18:09 +0000 (13:18 +0100)
commit57e6018305a97f4e3627d16d8b1886419f274b4a
treee7f8ac1f216b366065a1b574357b591807b1ea11
parentaf68314ddcec11d71153ad52f3532cb4ac8520cd
fix(st-pmic): add static const to pmic_ops

The static was found by sparse tool:
drivers/st/pmic/stm32mp_pmic.c:456:18: warning: symbol 'pmic_ops'
 was not declared. Should it be static?
The const was also missing.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: Ibb5cfaf67ac980bf0af27712a95dbef05b617c25
drivers/st/pmic/stm32mp_pmic.c