1 /* Public domain. */ 2 3 #ifndef _LINUX_SYNC_FILE_H 4 #define _LINUX_SYNC_FILE_H 5 6 #include <linux/dma-fence.h> 7 #include <linux/ktime.h> 8 9 struct sync_file { 10 }; 11 12 static inline struct dma_fence * 13 sync_file_get_fence(int fd) 14 { 15 printf("%s: stub\n", __func__); 16 return NULL; 17 } 18 19 static inline struct sync_file * 20 sync_file_create(struct dma_fence *fence) 21 { 22 printf("%s: stub\n", __func__); 23 return NULL; 24 } 25 26 #endif 27