Root/target/linux/omap24xx/patches-2.6.38/545-cbus-retu-wdt-constify-info-struct.patch

1--- a/drivers/cbus/retu-wdt.c
2+++ b/drivers/cbus/retu-wdt.c
3@@ -149,7 +149,7 @@ static long retu_wdt_ioctl(struct file *
4     struct retu_wdt_dev *wdev = container_of(mdev, struct retu_wdt_dev, miscdev);
5     int new_margin;
6 
7- static struct watchdog_info ident = {
8+ static const struct watchdog_info ident = {
9         .identity = "Retu Watchdog",
10         .options = WDIOF_SETTIMEOUT,
11         .firmware_version = 0,
12

Archive Download this file



interactive