i3c: ast2600: set variable ast2600_i3c_ops storage-class-specifier to static
authorTom Rix <trix@redhat.com>
Sat, 29 Apr 2023 13:46:01 +0000 (09:46 -0400)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 30 Apr 2023 21:50:26 +0000 (23:50 +0200)
commit6b496a94c5905fca7879bc0dc438a47de40b7d4f
tree5eba4c6936d739fc845387171d71ae23c4c058ec
parent8c6c78ee3b3330cf8a00a3c6bdecc18d42e969d7
i3c: ast2600: set variable ast2600_i3c_ops storage-class-specifier to static

smatch reports
drivers/i3c/master/ast2600-i3c-master.c:121:34: warning: symbol
  'ast2600_i3c_ops' was not declared. Should it be static?

This variable is only used in its defining file, so it should be static.

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Jeremy Kerr <jk@codeconstruct.com.au>
Link: https://lore.kernel.org/r/20230429134601.2688558-1-trix@redhat.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/ast2600-i3c-master.c