aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/8xx
diff options
context:
space:
mode:
authorTony Breeds <tony@bakeyournoodle.com>2007-09-11 23:58:54 -0400
committerPaul Mackerras <paulus@samba.org>2007-09-22 00:49:22 -0400
commit408e83a682bbca54c579519098d63f3f5d8856e1 (patch)
treeaac1c7719d77b8565aa0c37265f30ba6d4fe3dd8 /arch/powerpc/platforms/8xx
parent85498ae87c7d789de613b7e21bd539577142c3cb (diff)
[POWERPC] Convert define_machine(mpc885_ads) to C99 initializer syntax
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>
Diffstat (limited to 'arch/powerpc/platforms/8xx')
-rw-r--r--arch/powerpc/platforms/8xx/mpc885ads_setup.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/arch/powerpc/platforms/8xx/mpc885ads_setup.c b/arch/powerpc/platforms/8xx/mpc885ads_setup.c
index d3da38586b04..a1dab4cfd3de 100644
--- a/arch/powerpc/platforms/8xx/mpc885ads_setup.c
+++ b/arch/powerpc/platforms/8xx/mpc885ads_setup.c
@@ -426,9 +426,14 @@ static int __init mpc885ads_probe(void)
426 426
427define_machine(mpc885_ads) 427define_machine(mpc885_ads)
428{ 428{
429.name = "MPC885 ADS",.probe = mpc885ads_probe,.setup_arch = 429 .name = "MPC885 ADS",
430 mpc885ads_setup_arch,.init_IRQ = 430 .probe = mpc885ads_probe,
431 m8xx_pic_init,.show_cpuinfo = mpc8xx_show_cpuinfo,.get_irq = 431 .setup_arch = mpc885ads_setup_arch,
432 mpc8xx_get_irq,.restart = mpc8xx_restart,.calibrate_decr = 432 .init_IRQ = m8xx_pic_init,
433 mpc8xx_calibrate_decr,.set_rtc_time = 433 .show_cpuinfo = mpc8xx_show_cpuinfo,
434 mpc8xx_set_rtc_time,.get_rtc_time = mpc8xx_get_rtc_time,}; 434 .get_irq = mpc8xx_get_irq,
435 .restart = mpc8xx_restart,
436 .calibrate_decr = mpc8xx_calibrate_decr,
437 .set_rtc_time = mpc8xx_set_rtc_time,
438 .get_rtc_time = mpc8xx_get_rtc_time,
439};