diff options
-rw-r--r-- | v4l/compat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h index 51e4408d4..465b3ae8b 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -508,4 +508,10 @@ static inline unsigned long hrtimer_forward_now(struct hrtimer *timer, #endif #endif /* _LINUX_HRTIMER_H */ +#ifndef PCI_VDEVICE +#define PCI_VDEVICE(vendor, device) \ + PCI_VENDOR_ID_##vendor, (device), \ + PCI_ANY_ID, PCI_ANY_ID, 0, 0 +#endif + #endif /* _COMPAT_H */ |