diff options
author | Michael Büsch <mb@bu3sch.de> | 2011-03-04 15:40:32 +0000 |
---|---|---|
committer | Michael Büsch <mb@bu3sch.de> | 2011-03-04 15:40:32 +0000 |
commit | 3a3c99f7eefc6def3f78d30844cc4899fad2b831 (patch) | |
tree | 5b4892d488f16454ff0e714b5d20e327df07bfcc /target/linux/omap24xx/patches-2.6.38/545-cbus-retu-wdt-constify-info-struct.patch | |
parent | 5bddd70a3747206809ee2de5477ecc92baaba0f6 (diff) | |
download | upstream-3a3c99f7eefc6def3f78d30844cc4899fad2b831.tar.gz upstream-3a3c99f7eefc6def3f78d30844cc4899fad2b831.tar.bz2 upstream-3a3c99f7eefc6def3f78d30844cc4899fad2b831.zip |
n810: More retu-wdt cleanups
SVN-Revision: 25863
Diffstat (limited to 'target/linux/omap24xx/patches-2.6.38/545-cbus-retu-wdt-constify-info-struct.patch')
-rw-r--r-- | target/linux/omap24xx/patches-2.6.38/545-cbus-retu-wdt-constify-info-struct.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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 0000000000..8d6d2bb8cb --- /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, |