summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-01-06 01:41:20 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-01-06 01:41:20 -0200
commitd0da4caaa598094de631107a681fb3193bb108dc (patch)
treef0d6d95ec7941cab997ae4997f8f8f5063b3f093 /v4l
parentd5c04e3ad97347a3b62795daac379028f2ade352 (diff)
downloadmediapointer-dvb-s2-d0da4caaa598094de631107a681fb3193bb108dc.tar.gz
mediapointer-dvb-s2-d0da4caaa598094de631107a681fb3193bb108dc.tar.bz2
compat.h: Fix a small error at the compat code
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> CC: Nicola Soranzo <nsoranzo@tiscali.it>
Diffstat (limited to 'v4l')
-rw-r--r--v4l/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index 7fc249001..186493d7f 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -407,7 +407,7 @@ static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd)
#endif
#ifdef NEED_PCI_IOREMAP_BAR
-#define pci_ioremap_bar(struct pci_dev *pdev, int bar) \
+#define pci_ioremap_bar(pdev, bar) \
ioremap_nocache(pci_resource_start(pdev, bar), \
pci_resource_len(pdev, bar))
#endif