mirror of
https://github.com/patjak/facetimehd.git
synced 2026-04-10 03:20:02 +02:00
facetimehd: make get_entry_addr() public
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#include "fthd_ringbuf.h"
|
||||
#include "fthd_isp.h"
|
||||
|
||||
static u32 get_entry_addr(struct fthd_private *dev_priv,
|
||||
u32 get_entry_addr(struct fthd_private *dev_priv,
|
||||
struct fw_channel *chan, int num)
|
||||
{
|
||||
return chan->offset + num * FTHD_RINGBUF_ENTRY_SIZE;
|
||||
|
||||
@@ -49,4 +49,6 @@ extern u32 fthd_channel_ringbuf_receive(struct fthd_private *dev_priv,
|
||||
struct fw_channel *chan);
|
||||
|
||||
extern int fthd_channel_wait_ready(struct fthd_private *dev_priv, struct fw_channel *chan, u32 entry, int timeout);
|
||||
extern u32 get_entry_addr(struct fthd_private *dev_priv,
|
||||
struct fw_channel *chan, int num);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user