In article <20140318143431.920a...@cvs.netbsd.org>,
Michael Lorenz <source-changes-d@NetBSD.org> wrote:
>-=-=-=-=-=-
>
>+#ifdef PPC_OEA601
>+static struct timecounter powerpc_601_timecounter = {
>+      get_601_timecount,      /* get_timecount */
>+      0,                      /* no poll_pps */
>+      0x7fffffff,             /* counter_mask */
>+      0,                      /* frequency */
>+      "rtc",                  /* name */
>+      100,                    /* quality */
>+      NULL,                   /* tc_priv */
>+      NULL                    /* tc_next */
>+};
>+#endif
>+
> static struct timecounter powerpc_timecounter = {
>       get_powerpc_timecount,  /* get_timecount */
>       0,                      /* no poll_pps */
>       0x7fffffff,             /* counter_mask */
>       0,                      /* frequency */
>-#if PPC_OEA601
>-      "rtc",                  /* name */
>-#else
>       "mftb",                 /* name */
>-#endif
>       100,                    /* quality */
>       NULL,                   /* tc_priv */
>       NULL                    /* tc_next */

Can we use c99 field initializers here instead of comments?!?

christos

Reply via email to