mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
staging: vchi: Expose struct vchi_service
This will make further changes easier. The struct will ultimately disappear. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Link: https://lore.kernel.org/r/20200629150945.10720-26-nsaenzjulienne@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
460165c677
commit
823568cf17
2 changed files with 7 additions and 10 deletions
|
@ -29,6 +29,13 @@ struct vchi_held_msg {
|
|||
void *message;
|
||||
};
|
||||
|
||||
struct vchi_service {
|
||||
unsigned int handle;
|
||||
|
||||
vchi_callback callback;
|
||||
void *callback_param;
|
||||
};
|
||||
|
||||
// structure used to provide the information needed to open a server or a client
|
||||
struct service_creation {
|
||||
struct vchi_version version;
|
||||
|
@ -40,9 +47,6 @@ struct service_creation {
|
|||
// Opaque handle for a VCHIQ instance
|
||||
struct vchiq_instance;
|
||||
|
||||
// Opaque handle for a server or client
|
||||
struct vchi_service;
|
||||
|
||||
/******************************************************************************
|
||||
* Global funcs - implementation is specific to which side you are on
|
||||
* (local / remote)
|
||||
|
|
|
@ -10,13 +10,6 @@
|
|||
#include "vchiq.h"
|
||||
#include "vchiq_core.h"
|
||||
|
||||
struct vchi_service {
|
||||
unsigned int handle;
|
||||
|
||||
vchi_callback callback;
|
||||
void *callback_param;
|
||||
};
|
||||
|
||||
int vchi_queue_kernel_message(struct vchi_service *service, void *data,
|
||||
unsigned int size)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue