mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
staging: octeon: remove typedef in enum cvmx_pko_status_t
Remove typedef in enum cmvx_pko_status_t, and rename all instances to cvmx_pko_status Signed-off-by: Oliver Crumrine <ozlinux@hotmail.com> Link: https://lore.kernel.org/r/PH7PR11MB7643430B9516797F3870936FBCE0A@PH7PR11MB7643.namprd11.prod.outlook.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8d26aa9045
commit
4fffe4733c
|
|
@ -244,7 +244,7 @@ enum cvmx_pko_lock {
|
|||
CVMX_PKO_LOCK_CMD_QUEUE = 2,
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
enum cvmx_pko_status {
|
||||
CVMX_PKO_SUCCESS,
|
||||
CVMX_PKO_INVALID_PORT,
|
||||
CVMX_PKO_INVALID_QUEUE,
|
||||
|
|
@ -252,7 +252,7 @@ typedef enum {
|
|||
CVMX_PKO_NO_MEMORY,
|
||||
CVMX_PKO_PORT_ALREADY_SETUP,
|
||||
CVMX_PKO_CMD_QUEUE_INIT_ERROR
|
||||
} cvmx_pko_status_t;
|
||||
};
|
||||
|
||||
enum cvmx_pow_tag_type {
|
||||
CVMX_POW_TAG_TYPE_ORDERED = 0L,
|
||||
|
|
@ -1384,7 +1384,7 @@ static inline void cvmx_pko_send_packet_prepare(uint64_t port, uint64_t queue,
|
|||
enum cvmx_pko_lock use_locking)
|
||||
{ }
|
||||
|
||||
static inline cvmx_pko_status_t cvmx_pko_send_packet_finish(uint64_t port,
|
||||
static inline enum cvmx_pko_status cvmx_pko_send_packet_finish(uint64_t port,
|
||||
uint64_t queue, union cvmx_pko_command_word0 pko_command,
|
||||
union cvmx_buf_ptr packet, enum cvmx_pko_lock use_locking)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user