diff options
-rw-r--r-- | kernel/hpec/hpec.h | 2 | ||||
-rw-r--r-- | kernel/hpec/hpec_zaptel.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kernel/hpec/hpec.h b/kernel/hpec/hpec.h index 50e595b..e1e0bea 100644 --- a/kernel/hpec/hpec.h +++ b/kernel/hpec/hpec.h @@ -41,7 +41,7 @@ struct echo_can_state __attribute__((regparm(0))) *hpec_channel_alloc(unsigned i void __attribute__((regparm(0))) hpec_channel_free(struct echo_can_state *channel); -void __attribute__((regparm(0))) hpec_channel_update(struct echo_can_state *channel, short *iref, short *isig); +void __attribute__((regparm(0))) hpec_channel_update(struct echo_can_state *channel, short *isig, short *iref); #endif /* !defined(_HPEC_H) */ diff --git a/kernel/hpec/hpec_zaptel.h b/kernel/hpec/hpec_zaptel.h index 67d677a..6d2b79e 100644 --- a/kernel/hpec/hpec_zaptel.h +++ b/kernel/hpec/hpec_zaptel.h @@ -80,9 +80,9 @@ static inline void echo_can_free(struct echo_can_state *ec) hpec_channel_free(ec); } -static inline void echo_can_array_update(struct echo_can_state *ec, short *iref, short *isig) +static inline void echo_can_array_update(struct echo_can_state *ec, short *isig, short *iref) { - hpec_channel_update(ec, iref, isig); + hpec_channel_update(ec, isig, iref); } DECLARE_MUTEX(alloc_lock); |