Fix non-ISA link error in drivers/scsi/advansys.c

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@wil.cx>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Matthew Wilcox and committed by Linus Torvalds fa890d58 5e41d0d6

+11
+11
include/linux/isa.h
··· 22 22 23 23 #define to_isa_driver(x) container_of((x), struct isa_driver, driver) 24 24 25 + #ifdef CONFIG_ISA 25 26 int isa_register_driver(struct isa_driver *, unsigned int); 26 27 void isa_unregister_driver(struct isa_driver *); 28 + #else 29 + static inline int isa_register_driver(struct isa_driver *d, unsigned int i) 30 + { 31 + return 0; 32 + } 33 + 34 + static inline void isa_unregister_driver(struct isa_driver *d) 35 + { 36 + } 37 + #endif 27 38 28 39 #endif /* __LINUX_ISA_H */