Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268141
b: refs/heads/master
c: a710cc7
h: refs/heads/master
i:
  268139: 94990ce
v: v3
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Sep 6, 2011
1 parent 869c262 commit b9b1230
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fd776ba9abdb6a89aa1ef500d7046caa35a0905a
refs/heads/master: a710cc77db9785993cddecc966a662cb772b3ad9
8 changes: 8 additions & 0 deletions trunk/drivers/staging/iio/kfifo_buf.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@

#include "kfifo_buf.h"

struct iio_kfifo {
struct iio_ring_buffer ring;
struct kfifo kf;
int use_count;
int update_needed;
struct mutex use_lock;
};

#define iio_to_kfifo(r) container_of(r, struct iio_kfifo, ring)

static inline int __iio_allocate_kfifo(struct iio_kfifo *buf,
Expand Down
8 changes: 0 additions & 8 deletions trunk/drivers/staging/iio/kfifo_buf.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@
#include "iio.h"
#include "ring_generic.h"

struct iio_kfifo {
struct iio_ring_buffer ring;
struct kfifo kf;
int use_count;
int update_needed;
struct mutex use_lock;
};

extern const struct iio_ring_access_funcs kfifo_access_funcs;

struct iio_ring_buffer *iio_kfifo_allocate(struct iio_dev *indio_dev);
Expand Down

0 comments on commit b9b1230

Please sign in to comment.