From d0da4caaa598094de631107a681fb3193bb108dc Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 6 Jan 2009 01:41:20 -0200 Subject: compat.h: Fix a small error at the compat code From: Mauro Carvalho Chehab Priority: normal Signed-off-by: Mauro Carvalho Chehab CC: Nicola Soranzo --- v4l/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3