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:
Marcus Shawcroft 2016-10-24 08:15:43 +01:00 committed by Anas Nashif
commit 807a103653

View file

@ -76,7 +76,7 @@ static void iwdg_stm32_reload(struct device *dev)
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,
.disable = iwdg_stm32_disable,
.get_config = iwdg_stm32_get_config,