]> git.dujemihanovic.xyz Git - u-boot.git/commit
Mark a few functions static inline
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 21 Oct 2024 14:20:45 +0000 (17:20 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 24 Oct 2024 17:21:48 +0000 (11:21 -0600)
commit08ae12be8509daf3d1c5a148b8a50c0ffb6457c2
tree3530b54dcfbf1e75f82c6c72fe19f32e895dbbd3
parente7dad2d37eb92a990eac9b16f51cfb777eb16af6
Mark a few functions static inline

The function prototypes that are defined in the header most likely has
to be marked as static inline. This helps avoiding the compiler warnings:

  include/mux.h:120:14: warning: no previous prototype for ‘mux_control_states’ [-Wmissing-prototypes]
  include/mux.h:125:18: warning: no previous prototype for ‘mux_control_select’ [-Wmissing-prototypes]
  include/mux.h:133:5: warning: no previous prototype for ‘mux_control_deselect’ [-Wmissing-prototypes]
  include/mux.h:138:21: warning: no previous prototype for ‘mux_control_get’ [-Wmissing-prototypes]
  include/mux.h:143:6: warning: no previous prototype for ‘mux_control_put’ [-Wmissing-prototypes]
  include/mux.h:147:21: warning: no previous prototype for ‘devm_mux_control_get’ [-Wmissing-prototypes]
  include/mux.h:153:5: warning: no previous prototype for ‘dm_mux_init’ [-Wmissing-prototype ]

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
include/mux.h