watchdog/iwdg_stm32: Limit name space, add static.
Change-Id: I497e2afe0a0e700c1fb95ef50338d44e601248df Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
parent
abb99c377d
commit
807a103653
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ static void iwdg_stm32_reload(struct device *dev)
|
||||||
iwdg->kr.bit.key = STM32_IWDG_KR_RELOAD;
|
iwdg->kr.bit.key = STM32_IWDG_KR_RELOAD;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct wdt_driver_api iwdg_stm32_api = {
|
static const struct wdt_driver_api iwdg_stm32_api = {
|
||||||
.enable = iwdg_stm32_enable,
|
.enable = iwdg_stm32_enable,
|
||||||
.disable = iwdg_stm32_disable,
|
.disable = iwdg_stm32_disable,
|
||||||
.get_config = iwdg_stm32_get_config,
|
.get_config = iwdg_stm32_get_config,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue