]> git.hungrycats.org Git - linux/commitdiff
[PATCH] MVME16x RTC C99
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 02:33:22 +0000 (18:33 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 02:33:22 +0000 (18:33 -0800)
From: Geert Uytterhoeven <geert@linux-m68k.org>

MVME16x RTC: Use C99 struct initializers

arch/m68k/mvme16x/rtc.c

index ec79bfc53d3439ce789ab97180229fd8e1399fa1..2869be097e69a51383e8127cc301b79d1a0d805a 100644 (file)
@@ -155,9 +155,9 @@ static struct file_operations rtc_fops = {
 
 static struct miscdevice rtc_dev=
 {
-       RTC_MINOR,
-       "rtc",
-       &rtc_fops
+       .minor =        RTC_MINOR,
+       .name =         "rtc",
+       .fops =         &rtc_fops
 };
 
 int __init rtc_MK48T08_init(void)