Skip to content

Commit

Permalink
ARM: bcmring: fix build failure in mach-bcmring/arch.c
Browse files Browse the repository at this point in the history
Upstream commit d1fce9c

   "ARM: restart: bcmring: use new restart hook"

breaks building of this platform, since what used to be the
last field of the MACHINE_START/END block didn't have a
trailing comma.  Once another field was added below, we get:

arch/arm/mach-bcmring/arch.c:198: error: request for member 'restart' in something not a structure or union

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Jiandong Zheng <jdzheng@broadcom.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Paul Gortmaker authored and Olof Johansson committed Feb 4, 2012
1 parent 864e5e3 commit ca43784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-bcmring/arch.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,6 @@ MACHINE_START(BCMRING, "BCMRING")
.init_early = bcmring_init_early,
.init_irq = bcmring_init_irq,
.timer = &bcmring_timer,
.init_machine = bcmring_init_machine
.init_machine = bcmring_init_machine,
.restart = bcmring_restart,
MACHINE_END

0 comments on commit ca43784

Please sign in to comment.