zy1000: fix trivial syntax error introduced by latest refactorings
authorØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 17 Nov 2009 13:51:09 +0000 (14:51 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 17 Nov 2009 14:01:48 +0000 (15:01 +0100)
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/jtag/zy1000/jtag_minidriver.h

index 9d093ca31091f7173fa2ab808dc748c5a3db7534..3fe16ef3d275f6f03081db52724ed89e943f1aa0 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2007-2008 by Øyvind Harboe                              *
+ *   Copyright (C) 2007-2009 by Øyvind Harboe                              *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
@@ -148,7 +148,7 @@ static __inline__ void shiftValueInner(const enum tap_state state, const enum ta
 
 
 
-static __inline__ void interface_jtag_add_dr_out_core(struct jtag_tap *struct targetap,
+static __inline__ void interface_jtag_add_dr_out_core(struct jtag_tap *target_tap,
                int num_fields,
                const int *num_bits,
                const uint32_t *value,
@@ -164,7 +164,7 @@ static __inline__ void interface_jtag_add_dr_out_core(struct jtag_tap *struct ta
                {
                        pause_state = end_state;
                }
-               if (tap == struct targetap)
+               if (tap == target_tap)
                {
                        int j;
                        for (j = 0; j < (num_fields-1); j++)
@@ -180,7 +180,7 @@ static __inline__ void interface_jtag_add_dr_out_core(struct jtag_tap *struct ta
        }
 }
 
-static __inline__ void interface_jtag_add_dr_out(struct jtag_tap *struct targetap,
+static __inline__ void interface_jtag_add_dr_out(struct jtag_tap *target_tap,
                int num_fields,
                const int *num_bits,
                const uint32_t *value,
@@ -201,7 +201,7 @@ static __inline__ void interface_jtag_add_dr_out(struct jtag_tap *struct targeta
                shiftValueInner(TAP_DRSHIFT, end_state, num_bits[1], value[1]);
        } else
        {
-               interface_jtag_add_dr_out_core(struct targetap, num_fields, num_bits, value, end_state);
+               interface_jtag_add_dr_out_core(target_tap, num_fields, num_bits, value, end_state);
        }
 }