staging: octeon: remove typedef in enum cvmx_pow_wait_t
Remove typedef in enum cvmx_pow_wait_t, and rename all instances to cvmx_pow_wait Signed-off-by: Oliver Crumrine <ozlinux@hotmail.com> Link: https://lore.kernel.org/r/PH7PR11MB7643299EE41E05AD6D736416BCE0A@PH7PR11MB7643.namprd11.prod.outlook.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a13f7e4582
commit
28fae776c6
@ -233,10 +233,10 @@ enum cvmx_helper_interface_mode {
|
||||
CVMX_HELPER_INTERFACE_MODE_LOOP,
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
enum cvmx_pow_wait {
|
||||
CVMX_POW_WAIT = 1,
|
||||
CVMX_POW_NO_WAIT = 0,
|
||||
} cvmx_pow_wait_t;
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
CVMX_PKO_LOCK_NONE = 0,
|
||||
@ -1342,11 +1342,11 @@ static inline unsigned int cvmx_get_core_num(void)
|
||||
}
|
||||
|
||||
static inline void cvmx_pow_work_request_async_nocheck(int scr_addr,
|
||||
cvmx_pow_wait_t wait)
|
||||
enum cvmx_pow_wait wait)
|
||||
{ }
|
||||
|
||||
static inline void cvmx_pow_work_request_async(int scr_addr,
|
||||
cvmx_pow_wait_t wait)
|
||||
enum cvmx_pow_wait wait)
|
||||
{ }
|
||||
|
||||
static inline struct cvmx_wqe *cvmx_pow_work_response_async(int scr_addr)
|
||||
@ -1356,7 +1356,7 @@ static inline struct cvmx_wqe *cvmx_pow_work_response_async(int scr_addr)
|
||||
return wqe;
|
||||
}
|
||||
|
||||
static inline struct cvmx_wqe *cvmx_pow_work_request_sync(cvmx_pow_wait_t wait)
|
||||
static inline struct cvmx_wqe *cvmx_pow_work_request_sync(enum cvmx_pow_wait wait)
|
||||
{
|
||||
return (void *)(unsigned long)wait;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user