diff options
author | Michael Hunold <devnull@localhost> | 2003-06-18 12:20:44 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-06-18 12:20:44 +0000 |
commit | fb0c1b161937e8936aa52c67a353650d3e1e2926 (patch) | |
tree | 8b3d6dcf6a0022440ff8ebbcf3d8619bfa1cd8a7 /linux/include | |
parent | d803680c98d5c00510224ac46c315f1ba2d7f6ac (diff) | |
download | mediapointer-dvb-s2-fb0c1b161937e8936aa52c67a353650d3e1e2926.tar.gz mediapointer-dvb-s2-fb0c1b161937e8936aa52c67a353650d3e1e2926.tar.bz2 |
When I submitted the last patchset for the 2.5 kernel series,
Alan Cox reformatted the code to follow his coding style when
he fixed the merge bugs.
This patch now introduces these coding style changes, so
that we don't wipe out his changes with the next patchset.
Diffstat (limited to 'linux/include')
-rw-r--r-- | linux/include/media/saa7146_vv.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/include/media/saa7146_vv.h b/linux/include/media/saa7146_vv.h index 9a0b8800e..e2f4ba056 100644 --- a/linux/include/media/saa7146_vv.h +++ b/linux/include/media/saa7146_vv.h @@ -9,6 +9,16 @@ #define MAX_SAA7146_CAPTURE_BUFFERS 32 /* arbitrary */ #define BUFFER_TIMEOUT (HZ/2) /* 0.5 seconds */ +#define WRITE_RPS0(x) do { \ + static int count = 0; \ + dev->d_rps0.cpu_addr[ count++ ] = cpu_to_le32(x); \ + } while (0); + +#define WRITE_RPS1(x) do { \ + static int count = 0; \ + dev->d_rps1.cpu_addr[ count++ ] = cpu_to_le32(x); \ + } while (0); + struct saa7146_video_dma { u32 base_odd; u32 base_even; |