diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2017-06-27 10:27:23 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-29 16:38:51 +0200 |
commit | dff5e61e90476ee85a544daf9ba71dbd9404620d (patch) | |
tree | 4f881f8b597a0374043d9a84b95050871b338c55 /drivers/staging/ccree/ssi_fips.h | |
parent | 8422f1120bcfacc724a1928ea691d3953c62756e (diff) | |
download | op-kernel-dev-dff5e61e90476ee85a544daf9ba71dbd9404620d.zip op-kernel-dev-dff5e61e90476ee85a544daf9ba71dbd9404620d.tar.gz |
staging: ccree: remove custom type ssi_fips_state_t
Replace custom type ssi_fips_state_t with underlying enum.
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ccree/ssi_fips.h')
-rw-r--r-- | drivers/staging/ccree/ssi_fips.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/ccree/ssi_fips.h b/drivers/staging/ccree/ssi_fips.h index d1cd489..ce5fa45 100644 --- a/drivers/staging/ccree/ssi_fips.h +++ b/drivers/staging/ccree/ssi_fips.h @@ -22,12 +22,12 @@ * @brief This file contains FIPS related defintions and APIs. */ -typedef enum ssi_fips_state { +enum cc_fips_state { CC_FIPS_STATE_NOT_SUPPORTED = 0, CC_FIPS_STATE_SUPPORTED, CC_FIPS_STATE_ERROR, CC_FIPS_STATE_RESERVE32B = S32_MAX -} ssi_fips_state_t; +}; enum cc_fips_error { @@ -57,7 +57,7 @@ enum cc_fips_error { -int ssi_fips_get_state(ssi_fips_state_t *p_state); +int ssi_fips_get_state(enum cc_fips_state *p_state); int ssi_fips_get_error(enum cc_fips_error *p_err); #endif /*__SSI_FIPS_H__*/ |