diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2018-06-21 09:57:35 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-06-25 14:59:35 +0200 |
commit | 669d5dbb04d96fb409e7d2863b015d660d334c46 (patch) | |
tree | 65f2c9dc56e6d12811b86d4029317f672509dd1a | |
parent | 5817efe432217826dc2175148ac13226a1f42afd (diff) |
vmwgfx: Fix host message module function declarations
Make the host message module function declarations similar to the other
declarations in vmwgfx_drv.h and include the header in vmwgfx_msg.c
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
-rw-r--r-- | vmwgfx_drv.h | 10 | ||||
-rw-r--r-- | vmwgfx_msg.c | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/vmwgfx_drv.h b/vmwgfx_drv.h index cf80628..ee7abb4 100644 --- a/vmwgfx_drv.h +++ b/vmwgfx_drv.h @@ -1234,6 +1234,11 @@ int vmw_bo_cpu_blit(struct ttm_buffer_object *dst, u32 w, u32 h, struct vmw_diff_cpy *diff); +/* Host messaging -vmwgfx_msg.c: */ +int vmw_host_get_guestinfo(const char *guest_info_param, + char *buffer, size_t *length); +int vmw_host_log(const char *log); + /** * Inline helper functions */ @@ -1314,11 +1319,6 @@ static inline void vmw_mmio_write(u32 value, u32 *addr) WRITE_ONCE(*addr, value); } -/** - * Add vmw_msg module function - */ -extern int vmw_host_log(const char *log); - #ifdef VMWGFX_STANDALONE extern int force_no_3d; #endif diff --git a/vmwgfx_msg.c b/vmwgfx_msg.c index cc3d757..bd2b6c8 100644 --- a/vmwgfx_msg.c +++ b/vmwgfx_msg.c @@ -31,6 +31,7 @@ #include <linux/frame.h> #include <asm/hypervisor.h> #include "drmP.h" +#include "vmwgfx_drv.h" #include "vmwgfx_msg.h" #include "vmwgfx_compat.h" |