]> err.no Git - linux-2.6/commitdiff
[POWERPC] Convert define_machine(mpc885_ads) to C99 initializer syntax
authorTony Breeds <tony@bakeyournoodle.com>
Wed, 12 Sep 2007 03:58:54 +0000 (13:58 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 22 Sep 2007 04:49:22 +0000 (14:49 +1000)
Make the define_machine() block for mpc885_ads more greppable and
consistent with other examples in tree.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/8xx/mpc885ads_setup.c

index d3da38586b04c2afb3d8f7d1221f0821273e2bd0..a1dab4cfd3dee25d5c3941fd2eadc78b7d37698b 100644 (file)
@@ -426,9 +426,14 @@ static int __init mpc885ads_probe(void)
 
 define_machine(mpc885_ads)
 {
-.name = "MPC885 ADS",.probe = mpc885ads_probe,.setup_arch =
-           mpc885ads_setup_arch,.init_IRQ =
-           m8xx_pic_init,.show_cpuinfo = mpc8xx_show_cpuinfo,.get_irq =
-           mpc8xx_get_irq,.restart = mpc8xx_restart,.calibrate_decr =
-           mpc8xx_calibrate_decr,.set_rtc_time =
-           mpc8xx_set_rtc_time,.get_rtc_time = mpc8xx_get_rtc_time,};
+       .name            = "MPC885 ADS",
+       .probe           = mpc885ads_probe,
+       .setup_arch      = mpc885ads_setup_arch,
+       .init_IRQ        = m8xx_pic_init,
+       .show_cpuinfo    = mpc8xx_show_cpuinfo,
+       .get_irq         = mpc8xx_get_irq,
+       .restart         = mpc8xx_restart,
+       .calibrate_decr  = mpc8xx_calibrate_decr,
+       .set_rtc_time    = mpc8xx_set_rtc_time,
+       .get_rtc_time    = mpc8xx_get_rtc_time,
+};