The patch titled drivers/scsi/advansys.c: linkage fix has been added to the -mm tree. Its filename is drivers-scsi-advansysc-linkage-fix.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: drivers/scsi/advansys.c: linkage fix From: Matthew Wilcox <matthew@xxxxxx> advansys.c:(.init.text+0x38ea): undefined reference to `isa_register_driver' When CONFIG_ISA is disabled, the isa_driver support will not be compiled in. Define stubs so that we don't get link-time errors. Signed-off-by: Matthew Wilcox <matthew@xxxxxx> Cc: Gabriel C <nix.or.die@xxxxxxxxxxxxxx> Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/isa.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff -puN include/linux/isa.h~drivers-scsi-advansysc-linkage-fix include/linux/isa.h --- a/include/linux/isa.h~drivers-scsi-advansysc-linkage-fix +++ a/include/linux/isa.h @@ -22,7 +22,18 @@ struct isa_driver { #define to_isa_driver(x) container_of((x), struct isa_driver, driver) +#ifdef CONFIG_ISA int isa_register_driver(struct isa_driver *, unsigned int); void isa_unregister_driver(struct isa_driver *); +#else +static inline int isa_register_driver(struct isa_driver *d, unsigned int i) +{ + return 0; +} + +static inline void isa_unregister_driver(struct isa_driver *d) +{ +} +#endif #endif /* __LINUX_ISA_H */ _ Patches currently in -mm which might be from matthew@xxxxxx are origin.patch fix-dac960-driver-on-machines-which-dont-support-64-bit-dma-fix.patch drivers-scsi-advansysc-linkage-fix.patch git-scsi-misc.patch drivers-scsi-advansysc-ld-error-re-2623-rc3-mm1.patch make-sure-nobodys-leaking-resources.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html