On Mon, Feb 08, 2010 at 19:13 +0300, Mike Belopuhov wrote:
> @@ -1949,7 +1965,8 @@ static const struct pci_matchid mpii_dev
> int
> mpii_pci_match(struct device *parent, void *match, void *aux)
> {
> - return (pci_matchbyid(aux, mpii_devices, nitems(mpii_devices)));
> + return (pci_matchbyid(aux, mpii_devices,
> + sizeof(mpii_devices) / sizeof(mpii_devices[0])));
> }
>
> voidsorry for that, it crept in from the other branch.
