summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
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