diff options
| author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-05-05 08:42:18 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-05-05 08:42:18 -0300 |
| commit | b6d0c4b9b47910a71f4fcec532cd503f319da0d8 (patch) | |
| tree | 5fdbc6612d7ba83dbcb34585472832ae1bd05e8f /v4l | |
| parent | 3d2b4c935e8804f2ed232614079f41ab6360aad2 (diff) | |
| parent | a98b15d8435d3661c93a5e73eca17f300508a11c (diff) | |
| download | mediapointer-dvb-s2-b6d0c4b9b47910a71f4fcec532cd503f319da0d8.tar.gz mediapointer-dvb-s2-b6d0c4b9b47910a71f4fcec532cd503f319da0d8.tar.bz2 | |
merge: http://jusst.de/hg/v4l-dvb/rev/da67609aae86
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'v4l')
| -rw-r--r-- | v4l/compat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h index d8bd6debe..6a40e2a33 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -449,4 +449,9 @@ static inline int snd_card_create(int idx, const char *id, } #endif +/* This macro was added in commit v2.6.23-5792-g34c6538 */ +#ifndef DMA_BIT_MASK +#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) +#endif + #endif /* _COMPAT_H */ |
