]> git.neil.brown.name Git - history.git/commitdiff
[WATCHDOG] C99 struct initialisers for sc1200wdt
authorDave Jones <davej@codemonkey.org.uk>
Thu, 13 Feb 2003 09:18:11 +0000 (08:18 -0100)
committerDave Jones <davej@codemonkey.org.uk>
Thu, 13 Feb 2003 09:18:11 +0000 (08:18 -0100)
drivers/char/watchdog/sc1200wdt.c

index 62e9b52d44076d2cd57b15d304f077f08a99d8f1..5e1e5358bba681a1540ccfb22f9b5739e815e012 100644 (file)
@@ -297,18 +297,18 @@ static struct notifier_block sc1200wdt_notifier =
 
 static struct file_operations sc1200wdt_fops =
 {
-       owner:          THIS_MODULE,
-       write:          sc1200wdt_write,
-       ioctl:          sc1200wdt_ioctl,
-       open:           sc1200wdt_open,
-       release:        sc1200wdt_release
+       .owner          = THIS_MODULE,
+       .write          = sc1200wdt_write,
+       .ioctl          = sc1200wdt_ioctl,
+       .open           = sc1200wdt_open,
+       .release        = sc1200wdt_release
 };
 
 static struct miscdevice sc1200wdt_miscdev =
 {
-       minor:          WATCHDOG_MINOR,
-       name:           "watchdog",
-       fops:           &sc1200wdt_fops,
+       .minor          = WATCHDOG_MINOR,
+       .name           = "watchdog",
+       .fops           = &sc1200wdt_fops,
 };