diff mbox

cbus-retu-wdt: Constify watchdog_info structure

Message ID 1299252807.21644.12.camel@marge (mailing list archive)
State Accepted
Commit 2bdf24db0b2c787bf9d3294e9b1df5cf503bb487
Delegated to: Tony Lindgren
Headers show

Commit Message

Michael Buesch March 4, 2011, 3:33 p.m. UTC
None
diff mbox

Patch

Index: linux-2.6.38-rc6/drivers/cbus/retu-wdt.c
===================================================================
--- linux-2.6.38-rc6.orig/drivers/cbus/retu-wdt.c	2011-03-04 16:21:39.106113985 +0100
+++ linux-2.6.38-rc6/drivers/cbus/retu-wdt.c	2011-03-04 16:21:48.503540758 +0100
@@ -149,7 +149,7 @@  static long retu_wdt_ioctl(struct file *
 	struct retu_wdt_dev *wdev = container_of(mdev, struct retu_wdt_dev, miscdev);
 	int new_margin;
 
-	static struct watchdog_info ident = {
+	static const struct watchdog_info ident = {
 		.identity = "Retu Watchdog",
 		.options = WDIOF_SETTIMEOUT,
 		.firmware_version = 0,