summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@arm.com>2016-10-24 08:15:43 +0100
committerAnas Nashif <nashif@linux.intel.com>2016-10-26 20:51:09 +0000
commit807a103653c0c636eb68d3fa14186eb9121c4c8b (patch)
tree4fab9b1eea60c887c3b20ddd184d9ec0f0f439db /drivers
parentabb99c377d996ca0ab2c213974d929eca3542255 (diff)
watchdog/iwdg_stm32: Limit name space, add static.
Change-Id: I497e2afe0a0e700c1fb95ef50338d44e601248df Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/watchdog/iwdg_stm32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/iwdg_stm32.c b/drivers/watchdog/iwdg_stm32.c
index e4392317c..2b6ff2ba7 100644
--- a/drivers/watchdog/iwdg_stm32.c
+++ b/drivers/watchdog/iwdg_stm32.c
@@ -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,