summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/asm9260_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/asm9260_wdt.c')
-rw-r--r--drivers/watchdog/asm9260_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/asm9260_wdt.c b/drivers/watchdog/asm9260_wdt.c
index 2cf56b459d84..9768e44ffeb8 100644
--- a/drivers/watchdog/asm9260_wdt.c
+++ b/drivers/watchdog/asm9260_wdt.c
@@ -278,7 +278,7 @@ static int asm9260_wdt_probe(struct platform_device *pdev)
struct watchdog_device *wdd;
struct resource *res;
int ret;
- const char * const mode_name[] = { "hw", "sw", "debug", };
+ static const char * const mode_name[] = { "hw", "sw", "debug", };
priv = devm_kzalloc(&pdev->dev, sizeof(struct asm9260_wdt_priv),
GFP_KERNEL);
OpenPOWER on IntegriCloud