Messages in this thread | | | Date | Tue, 26 Jun 2007 13:26:22 -0700 | From | Randy Dunlap <> | Subject | EDD build error |
| |
Hi,
CONFIG_EDD does not depend on PCI, but edd.c uses pci_* interface functions, resulting in:
CC [M] drivers/firmware/edd.o drivers/firmware/edd.c: In function 'edd_get_pci_dev': drivers/firmware/edd.c:672: warning: implicit declaration of function 'pci_get_bus_and_slot' drivers/firmware/edd.c:673: warning: return makes pointer from integer without a cast ... ERROR: "pci_get_bus_and_slot" [drivers/firmware/edd.ko] undefined! make[1]: *** [__modpost] Error 1
Should EDD depend on PCI or should some parts of edd.c be stubbed?
(This is in 2.6.22-rc4-mm2 FWIW.)
--- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |