diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-11 07:42:37 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-11 07:42:37 -0200 |
commit | 0fa1e9d3ce718450932afd60e07fac3b6add25b9 (patch) | |
tree | b7bb8db546658349801f0430a6749946e82c0d25 /v4l | |
parent | c32fc5d38296d9cf27addd94683730e1bc87d76f (diff) | |
parent | 44fb259c62c95f15516f65a961483476ad226ff6 (diff) | |
download | mediapointer-dvb-s2-0fa1e9d3ce718450932afd60e07fac3b6add25b9.tar.gz mediapointer-dvb-s2-0fa1e9d3ce718450932afd60e07fac3b6add25b9.tar.bz2 |
merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-backport
Diffstat (limited to 'v4l')
-rw-r--r-- | v4l/compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h index 3c0c2e345..57b1aba8d 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -252,6 +252,10 @@ static inline int list_is_singular(const struct list_head *head) #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) #define snd_BUG_ON(cond) WARN((cond), "BUG? (%s)\n", __stringify(cond)) + +#define pci_ioremap_bar(pci, a) \ + ioremap_nocache(pci_resource_start(pci, a), \ + pci_resource_len(pci, a)) #endif #ifndef PCI_DEVICE_ID_MARVELL_88ALP01_CCIC |