From fb0c1b161937e8936aa52c67a353650d3e1e2926 Mon Sep 17 00:00:00 2001 From: Michael Hunold Date: Wed, 18 Jun 2003 12:20:44 +0000 Subject: 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. --- linux/include/media/saa7146_vv.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'linux/include') 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; -- cgit v1.2.3