Skip to content

Commit abb860a

Browse files
committed
pinctrl: samsung: staticize fsd_pin_ctrl
struct fsd_pin_ctrl is not used outside of the file, so it can be made static. This fixes sparse warning: drivers/pinctrl/samsung/pinctrl-exynos-arm64.c:773:31: sparse: symbol 'fsd_pin_ctrl' was not declared. Should it be static? Reported-by: kernel test robot <[email protected]> Fixes: 0d1b662 ("pinctrl: samsung: add FSD SoC specific data") Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Alim Akhtar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 3123109 commit abb860a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pinctrl/samsung/pinctrl-exynos-arm64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ static const struct samsung_pin_bank_data fsd_pin_banks2[] __initconst = {
770770
EXYNOS850_PIN_BANK_EINTN(3, 0x00, "gpq0"),
771771
};
772772

773-
const struct samsung_pin_ctrl fsd_pin_ctrl[] __initconst = {
773+
static const struct samsung_pin_ctrl fsd_pin_ctrl[] __initconst = {
774774
{
775775
/* pin-controller instance 0 FSYS0 data */
776776
.pin_banks = fsd_pin_banks0,

0 commit comments

Comments
 (0)