Skip to content

Commit

Permalink
MIPS: generic: Fix ranchu_of_match[] termination
Browse files Browse the repository at this point in the history
ranchu_of_match[] has no terminating element to end the search for a
matching compatible string when the first and only element does not
match, so add one now.

Fixes: f2d0b0d ("MIPS: ranchu: Add Ranchu as a new generic-based board")
Signed-off-by: James Hogan <[email protected]>
Reviewed-by: Paul Burton <[email protected]>
Reviewed-by: Matt Redfearn <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Miodrag Dinic <[email protected]>
Cc: Goran Ferenc <[email protected]>
Cc: Aleksandar Markovic <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/18581/
  • Loading branch information
amalon committed Feb 5, 2018
1 parent 9a9ab30 commit e17ae5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/mips/generic/board-ranchu.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ static const struct of_device_id ranchu_of_match[] __initconst = {
{
.compatible = "mti,ranchu",
},
{}
};

MIPS_MACHINE(ranchu) = {
Expand Down

0 comments on commit e17ae5c

Please sign in to comment.