With the removal of struct sync_pt sync_fence_create_dma() now takes
the same arguments as sync_fence_create() so let's keep only
sync_fence_create().
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
}
/* TODO: implement a create which takes more that one fence */
-struct sync_file *sync_file_create_dma(const char *name, struct fence *fence)
+struct sync_file *sync_file_create(const char *name, struct fence *fence)
{
struct sync_file *sync_file;
return sync_file;
}
-EXPORT_SYMBOL(sync_file_create_dma);
-
-struct sync_file *sync_file_create(const char *name, struct fence *fence)
-{
- return sync_file_create_dma(name, fence);
-}
EXPORT_SYMBOL(sync_file_create);
struct sync_file *sync_file_fdget(int fd)
*/
struct sync_file *sync_file_create(const char *name, struct fence *fence);
-/**
- * sync_file_create_dma() - creates a sync file from dma-fence
- * @name: name of file to create
- * @pt: dma-fence to add to the file
- *
- * Creates a sync_file containg @pt. Once this is called, the fence takes
- * ownership of @pt.
- */
-struct sync_file *sync_file_create_dma(const char *name, struct fence *pt);
-
/*
* API for sync_file consumers
*/