Commit 408e83a6 authored by Tony Breeds's avatar Tony Breeds Committed by Paul Mackerras

[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: default avatarTony Breeds <tony@bakeyournoodle.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 85498ae8
...@@ -426,9 +426,14 @@ static int __init mpc885ads_probe(void) ...@@ -426,9 +426,14 @@ static int __init mpc885ads_probe(void)
define_machine(mpc885_ads) define_machine(mpc885_ads)
{ {
.name = "MPC885 ADS",.probe = mpc885ads_probe,.setup_arch = .name = "MPC885 ADS",
mpc885ads_setup_arch,.init_IRQ = .probe = mpc885ads_probe,
m8xx_pic_init,.show_cpuinfo = mpc8xx_show_cpuinfo,.get_irq = .setup_arch = mpc885ads_setup_arch,
mpc8xx_get_irq,.restart = mpc8xx_restart,.calibrate_decr = .init_IRQ = m8xx_pic_init,
mpc8xx_calibrate_decr,.set_rtc_time = .show_cpuinfo = mpc8xx_show_cpuinfo,
mpc8xx_set_rtc_time,.get_rtc_time = mpc8xx_get_rtc_time,}; .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,
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment