MIPS: generic: Fix ranchu_of_match[] termination
"Linux Kernel Mailing List" <[email protected]>
| Newsgroups | gmane.linux.kernel.commits.head |
|---|---|
| Message-ID | <[email protected]> |
Web: https://git.kernel.org/torvalds/c/e17ae5cdd10ad957de5b03bfa832cfcad3b46248 Commit: e17ae5cdd10ad957de5b03bfa832cfcad3b46248 Parent: 9a9ab3078e2744a1a55163cfaec73a5798aae33e Refname: refs/heads/master Author: James Hogan <[email protected]> AuthorDate: Fri Feb 2 22:14:10 2018 +0000 Committer: James Hogan <[email protected]> CommitDate: Mon Feb 5 10:39:51 2018 +0000 MIPS: generic: Fix ranchu_of_match[] termination 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: f2d0b0d5c171 ("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/ --- arch/mips/generic/board-ranchu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/generic/board-ranchu.c b/arch/mips/generic/board-ranchu.c index ea451b89bb53..59a8c18fa2cc 100644 --- a/arch/mips/generic/board-ranchu.c +++ b/arch/mips/generic/board-ranchu.c @@ -84,6 +84,7 @@ static const struct of_device_id ranchu_of_match[] __initconst = { { .compatible = "mti,ranchu", }, + {} }; MIPS_MACHINE(ranchu) = { -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html