2.4.1-ac breaks parport_pc when CONFIG_PCI=n
2.4.1-ac breaks parport_pc in PCI-less configs.
Attempting to 'make vmlinux' in 2.4.1-ac14 with
# CONFIG_MODULES is not set
# CONFIG_PCI is not setCONFIG_PARPORT=yCONFIG_PARPORT_PC=y
results in
drivers/parport/driver.o: In function `parport_pc_init_superio':
drivers/parport/driver.o(.text.init+0x1311): undefined reference to pci_devices' drivers/parport/driver.o(.text.init+0x1316): undefined reference to pci_devices' drivers/parport/driver.o(.text.init+0x1323): undefined reference to `pci_devices'
make: *** [vmlinux] Error 1
parport_pc_init_superio() contains a pci_for_each_dev loop. This macro references pci_devices which doesn't exist when CONFIG_PCI=n. 2.4.1 vanilla has a #ifdef CONFIG_PCI/#endif pair around the offending code, but 2.4.1-ac removes the #ifdef leading to the error above.
Either the #ifdef needs to be put back in, or pci_for_each_dev should have a dummy #define in <linux/pci.h> for !CONFIG_PCI, like many of the other pci functions.
/Mikael