mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-20 18:06:47 +07:00
staging: vc04_services: Rename callback VCHI_CALLBACK_T to vchi_callback
Renames callback function pointer typedef VCHI_CALLBACK_T to vchi_callback to better match kernel code style. Signed-off-by: Jamal Shareef <jamal.k.shareef@gmail.com> Link: https://lore.kernel.org/r/0b0f85060b38e6195fe2d58989621e7b09eafe51.1572994235.git.jamal.k.shareef@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
29ebf64f74
commit
0ff3c366a7
@ -45,7 +45,7 @@ struct vchi_held_msg {
|
||||
struct service_creation {
|
||||
struct vchi_version version;
|
||||
int32_t service_id;
|
||||
VCHI_CALLBACK_T callback;
|
||||
vchi_callback callback;
|
||||
void *callback_param;
|
||||
};
|
||||
|
||||
|
@ -86,9 +86,9 @@ enum vchi_service_option {
|
||||
};
|
||||
|
||||
//Callback used by all services / bulk transfers
|
||||
typedef void (*VCHI_CALLBACK_T)(void *callback_param, //my service local param
|
||||
enum vchi_callback_reason reason,
|
||||
void *handle); //for transmitting msg's only
|
||||
typedef void (*vchi_callback)(void *callback_param, //my service local param
|
||||
enum vchi_callback_reason reason,
|
||||
void *handle); //for transmitting msg's only
|
||||
|
||||
/*
|
||||
* Define vector struct for scatter-gather (vector) operations
|
||||
|
@ -16,7 +16,7 @@ struct shim_service {
|
||||
|
||||
struct vchiu_queue queue;
|
||||
|
||||
VCHI_CALLBACK_T callback;
|
||||
vchi_callback callback;
|
||||
void *callback_param;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user