summaryrefslogtreecommitdiff
path: root/drivers/staging/ks7010
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2018-03-28 17:24:26 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-29 11:49:12 +0200
commita63be5d947553ea18ac23b44b1dc93adca4e227b (patch)
tree068b2168a63f03821440124e8a4db428634fc6b1 /drivers/staging/ks7010
parentc0a2a25460a755db63750eeea89a74657e7eda0d (diff)
staging: ks7010: replace uint8_t in favour of u8 in michael_init
This commit replaces uint8_t for preferred one u8 in parameter of michael_init function. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010')
-rw-r--r--drivers/staging/ks7010/michael_mic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ks7010/michael_mic.c b/drivers/staging/ks7010/michael_mic.c
index 5eac35602167..0b59865bc200 100644
--- a/drivers/staging/ks7010/michael_mic.c
+++ b/drivers/staging/ks7010/michael_mic.c
@@ -24,7 +24,7 @@ static inline void michael_clear(struct michael_mic_t *mic)
mic->m_bytes = 0;
}
-static void michael_init(struct michael_mic_t *mic, uint8_t *key)
+static void michael_init(struct michael_mic_t *mic, u8 *key)
{
// Set the key
mic->k0 = get_unaligned_le32(key);