From d0699bf918d91c46dc88bdc32509e653b6b03e54 Mon Sep 17 00:00:00 2001 From: mb Date: Fri, 4 Mar 2011 15:40:32 +0000 Subject: n810: More retu-wdt cleanups git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25863 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../545-cbus-retu-wdt-constify-info-struct.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 target/linux/omap24xx/patches-2.6.38/545-cbus-retu-wdt-constify-info-struct.patch (limited to 'target/linux/omap24xx/patches-2.6.38/545-cbus-retu-wdt-constify-info-struct.patch') diff --git a/target/linux/omap24xx/patches-2.6.38/545-cbus-retu-wdt-constify-info-struct.patch b/target/linux/omap24xx/patches-2.6.38/545-cbus-retu-wdt-constify-info-struct.patch new file mode 100644 index 000000000..8d6d2bb8c --- /dev/null +++ b/target/linux/omap24xx/patches-2.6.38/545-cbus-retu-wdt-constify-info-struct.patch @@ -0,0 +1,13 @@ +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, -- cgit v1.2.3