drivers: rtc: fix enum type mismatching issue
The enum type mismatching was caught by LLVM. Jira: ZEP-1179 Change-Id: I50b68e201ef6fb18a02eeda2a2e7548dad3f358c Signed-off-by: Baohong Liu <baohong.liu@intel.com>
This commit is contained in:
parent
d5ccac16be
commit
fb83ea9cc6
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ static int rtc_qmsi_set_config(struct device *dev, struct rtc_config *cfg)
|
||||||
* values defined by clk_rtc_div and by QMSI's clk_rtc_div_t match for
|
* values defined by clk_rtc_div and by QMSI's clk_rtc_div_t match for
|
||||||
* both D2000 and SE.
|
* both D2000 and SE.
|
||||||
*/
|
*/
|
||||||
qm_cfg.prescaler = RTC_DIVIDER;
|
qm_cfg.prescaler = (clk_rtc_div_t)RTC_DIVIDER;
|
||||||
|
|
||||||
rtc_critical_region_start(dev);
|
rtc_critical_region_start(dev);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue