summaryrefslogtreecommitdiffstats
path: root/patches/gpsd-2.39/gpsd-2.39-fix_build_error.diff
blob: 126d7396b492fcc1c9490fc20dc396c923fd73db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Juergen Beisert <jbeisert@pengutronix.de>
Subject: [PATCH] fix a simple compile error

This fixes the following compile error:

.libs/drivers.o drivers.c:938: error: expected '}' before ';' token

Signed-off-by: Juergen Beisert <jbeisert@pengutronix.de>

---
 drivers.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: gpsd-2.39/drivers.c
===================================================================
--- gpsd-2.39/drivers.c.orig
+++ gpsd-2.39/drivers.c
@@ -935,7 +935,7 @@ static gps_mask_t garmintxt_parse_input(
 
 static const struct gps_type_t garmintxt = {
     .type_name     = "Garmin Simple Text",		/* full name of type */
-    .packet_type   = RTCM2_PACKET;	/* associated lexer packet type */
+    .packet_type   = RTCM2_PACKET,	/* associated lexer packet type */
     .trigger       = NULL,		/* no recognition string */
     .channels      = 0,			/* not used */
     .probe_wakeup  = NULL,		/* no wakeup to be done before hunt */