[PATCH] scripts/dtc: fix spelling mistake "endpont" -> "endpoint"

From: Colin King
Date: Tue Apr 16 2019 - 07:12:18 EST


From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

There is a spelling mistake in a FAIL message, fix it.

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
scripts/dtc/checks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/dtc/checks.c b/scripts/dtc/checks.c
index 4834e44b37b2..faddf6a57236 100644
--- a/scripts/dtc/checks.c
+++ b/scripts/dtc/checks.c
@@ -1714,7 +1714,7 @@ static void check_graph_endpoint(struct check *c, struct dt_info *dti,
return;

if (!strprefixeq(node->name, node->basenamelen, "endpoint"))
- FAIL(c, dti, node, "graph endpont node name should be 'endpoint'");
+ FAIL(c, dti, node, "graph endpoint node name should be 'endpoint'");

check_graph_reg(c, dti, node);

--
2.20.1