drivers: counter: shell: change callback functions to static

These callback functions are not used outside of the file, make
them `static`

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
This commit is contained in:
Yong Cong Sin 2024-09-12 14:06:33 +08:00 committed by Henrik Brix Andersen
parent ff8cbd1eda
commit a3d9ede341

View File

@ -22,14 +22,14 @@
static struct k_sem timer_sem;
void timer_top_handler(const struct device *counter_dev, void *user_data)
static void timer_top_handler(const struct device *counter_dev, void *user_data)
{
ARG_UNUSED(counter_dev);
k_sem_give(&timer_sem);
}
void timer_alarm_handler(const struct device *counter_dev, uint8_t chan_id,
static void timer_alarm_handler(const struct device *counter_dev, uint8_t chan_id,
uint32_t ticks, void *user_data)
{
ARG_UNUSED(counter_dev);