clk: mediatek: fhctl: Mark local variables static
authorTom Rix <trix@redhat.com>
Thu, 6 Apr 2023 01:09:35 +0000 (21:09 -0400)
committerStephen Boyd <sboyd@kernel.org>
Mon, 10 Apr 2023 23:57:12 +0000 (16:57 -0700)
commitcb9eee590a77320b997a47cae18662af23dcb726
tree46f0de9184d2bc28db1a12a59f34e446babf9009
parente0e3aca997f7f2b9b5b5e27f878e9bf5b573720a
clk: mediatek: fhctl: Mark local variables static

smatch reports
drivers/clk/mediatek/clk-fhctl.c:17:27: warning: symbol
  'fhctl_offset_v1' was not declared. Should it be static?
drivers/clk/mediatek/clk-fhctl.c:30:27: warning: symbol
  'fhctl_offset_v2' was not declared. Should it be static?

These variables are only used in one file so should be static.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230406010935.1944976-1-trix@redhat.com
Fixes: 8da312d6574c ("clk: mediatek: fhctl: Add support for older fhctl register layout")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-fhctl.c