drivers: can: add missing static keywords

Add missing static keywords for functions internal to the drivers.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2022-03-30 15:09:31 +02:00 committed by Carles Cufí
commit 99964fab45
9 changed files with 55 additions and 57 deletions

View file

@ -145,7 +145,7 @@ static int can_stm32fd_set_timing(const struct device *dev,
return can_mcan_set_timing(mcan_cfg, timing, timing_data);
}
int can_stm32fd_get_max_bitrate(const struct device *dev, uint32_t *max_bitrate)
static int can_stm32fd_get_max_bitrate(const struct device *dev, uint32_t *max_bitrate)
{
const struct can_stm32fd_config *cfg = dev->config;