drivers: can: common: add missing static for sample_point_for_bitrate()

Add missing static keyword for internal function
sample_point_for_bitrate().

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2023-03-17 11:19:57 +01:00 committed by Carles Cufí
parent 8cba27aab3
commit 9dc9f0a0fd

View file

@ -232,7 +232,7 @@ int can_calc_prescaler(const struct device *dev, struct can_timing *timing,
* @param bitrate The bitrate in bits/second.
* @return The sample point in permille.
*/
uint16_t sample_point_for_bitrate(uint32_t bitrate)
static uint16_t sample_point_for_bitrate(uint32_t bitrate)
{
uint16_t sample_pnt;