summaryrefslogtreecommitdiffstats
path: root/patches/gpsd-2.39/0003-fix-a-simple-compile-error.patch
blob: 312102d756d91fa1ee4658cc01986c4f274a90d2 (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
27
28
From: Juergen Beisert <jbeisert@pengutronix.de>
Date: Sun, 30 Oct 2011 22:33:40 +0100
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>
---
# 20110222 wsa: fixed in master meanwhile

 drivers.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers.c b/drivers.c
index 89cd772..373476f 100644
--- a/drivers.c
+++ b/drivers.c
@@ -935,7 +935,7 @@ static gps_mask_t garmintxt_parse_input(struct gps_device_t *session)
 
 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 */