mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
define macro for older kernels
This commit is contained in:
parent
56afb2acc1
commit
be19cdb31d
@ -400,6 +400,12 @@ fail:
|
|||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
|
|
||||||
|
#ifndef PCI_DEVICE_SUB
|
||||||
|
#define PCI_DEVICE_SUB(vend, dev, subvend, subdev) \
|
||||||
|
.vendor = (vend), .device = (dev), \
|
||||||
|
.subvendor = (subvend), .subdevice = (subdev)
|
||||||
|
#endif
|
||||||
|
|
||||||
#define DDB_DEVICE_ANY(_device) \
|
#define DDB_DEVICE_ANY(_device) \
|
||||||
{ PCI_DEVICE_SUB(0xdd01, _device, 0xdd01, PCI_ANY_ID) }
|
{ PCI_DEVICE_SUB(0xdd01, _device, 0xdd01, PCI_ANY_ID) }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user