These drivers have a sentinel at the end of the device list. Exclude
it.
This commit is contained in:
parent
610b1292f4
commit
bf428b0a27
@ -1237,7 +1237,7 @@ MODULE_DEPEND(i915kms, iicbus, 1, 1, 1);
|
||||
MODULE_DEPEND(i915kms, iic, 1, 1, 1);
|
||||
MODULE_DEPEND(i915kms, iicbb, 1, 1, 1);
|
||||
MODULE_PNP_INFO("U32:vendor;U32:device;P:#;D:#", vgapci, i915, pciidlist,
|
||||
sizeof(pciidlist[0]), nitems(pciidlist));
|
||||
sizeof(pciidlist[0]), nitems(pciidlist) - 1);
|
||||
|
||||
/* We give fast paths for the really cool registers */
|
||||
#define NEEDS_FORCE_WAKE(dev_priv, reg) \
|
||||
|
@ -402,4 +402,4 @@ MODULE_DEPEND(radeonkms, iic, 1, 1, 1);
|
||||
MODULE_DEPEND(radeonkms, iicbb, 1, 1, 1);
|
||||
MODULE_DEPEND(radeonkms, firmware, 1, 1, 1);
|
||||
MODULE_PNP_INFO("U32:vendor;U32:device;P:#;D:#", vgapci, radeonkms,
|
||||
pciidlist, sizeof(pciidlist[0]), nitems(pciidlist));
|
||||
pciidlist, sizeof(pciidlist[0]), nitems(pciidlist) - 1);
|
||||
|
Loading…
Reference in New Issue
Block a user