Skip to content
Commit e2344739 authored by Valerio Setti's avatar Valerio Setti Committed by Benjamin Cabé
Browse files

drivers: rtc: pcf8563: some fixes to the driver



- Define alarm_set_callback() only when CONFIG_RTC_ALARM is set otherwise
a warning will be generated at runtime for the function not being
used.

- add "static" keyword to all internal functions.

Signed-off-by: default avatarValerio Setti <vsetti@baylibre.com>
parent 4aaf4631
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment