blob: 2b0289df28c01934d1ea26b741776b2ded332827 [file] [log] [blame]
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -05001From 2723219c08726efa08a6bad04ffb775f850a96bc Mon Sep 17 00:00:00 2001
2From: Aaron Conole <aconole@redhat.com>
3Date: Mon, 3 Aug 2020 15:23:28 -0400
4Subject: [PATCH 6/9] ecp22: make enum a type rather than instance
5
6The enum defined in the qbg header is setup as a discreet instance
7rather than a type. Fix this.
8
9Signed-off-by: Aaron Conole <aconole@redhat.com>
10---
11 include/qbg_ecp22.h | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/include/qbg_ecp22.h b/include/qbg_ecp22.h
15index 567f6df..fe66bb3 100644
16--- a/include/qbg_ecp22.h
17+++ b/include/qbg_ecp22.h
18@@ -49,10 +49,10 @@ enum { /* ECP Transmit states */
19 ECP22_TX_ERROR
20 };
21
22-enum {
23+enum ecp22_mode {
24 ECP22_REQUEST = 0,
25 ECP22_ACK
26-} ecp22_mode;
27+};
28
29 struct ecp22_hdr { /* ECP22 header */
30 u16 ver_op_sub; /* ECP22 version, operation, subtype */
31--
322.28.0
33