staging: imgv: ttm: remove local proto for buffer class destructor
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 27 Apr 2012 14:24:17 +0000 (17:24 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:31:02 +0000 (12:31 +0300)
Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
drivers/staging/mrst/bc_video/bufferclass_video.h
drivers/staging/mrst/imgv/psb_ttm_glue.c

index fcead60..8d76f80 100644 (file)
@@ -159,6 +159,9 @@ extern "C"
        BC_VIDEO_DEVINFO *GetAnchorPtr(int id);
        int GetBufferCount(unsigned int *puiBufferCount, int id);
 
+       extern unsigned int bc_video_id_usage[BC_VIDEO_DEVICE_MAX_ID];
+       int BC_DestroyBuffers(int id);
+
 #if defined(__cplusplus)
 }
 #endif
index 21952b2..dbce21e 100644 (file)
 #include <linux/io.h>
 #include "psb_msvdx.h"
 #include "bufferclass_video.h"
-#include "bufferclass_video_linux.h"
 
 /*IMG Headers*/
 #include "private_data.h"
 
 extern int PVRMMap(struct file *pFile, struct vm_area_struct *ps_vma);
-int BC_DestroyBuffers(int id);
 
 static struct vm_operations_struct psb_ttm_vm_ops;