ZPCI_FUNCTIONS_PER_BUS
struct zpci_dev *function[ZPCI_FUNCTIONS_PER_BUS];
for (devfn = 0; devfn < ZPCI_FUNCTIONS_PER_BUS; devfn++) {
return (devfn >= ZPCI_FUNCTIONS_PER_BUS) ? NULL : zbus->function[devfn];
for (i = 0; i < ZPCI_FUNCTIONS_PER_BUS; i++) {