aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-01-30 00:59:17 -0800
committerJeff Garzik <jeff@garzik.org>2007-02-09 17:39:34 -0500
commit77a527eadb425b60db3f5f0aae6a4c51c38e35e5 (patch)
treea6636031ac808b137b03a244e87db771e9eb3573 /drivers/ata/libata.h
parent9b14dec5adf47287a2b52fc9fdedd6a0e245daca (diff)
downloadkernel_samsung_aries-77a527eadb425b60db3f5f0aae6a4c51c38e35e5.zip
kernel_samsung_aries-77a527eadb425b60db3f5f0aae6a4c51c38e35e5.tar.gz
kernel_samsung_aries-77a527eadb425b60db3f5f0aae6a4c51c38e35e5.tar.bz2
fix CONFIG_SATA_SIS=y compile error
Static code shouldn't be used from other modules. drivers/built-in.o: In function `sis_init_one': sata_sis.c:(.text+0x7634cd): undefined reference to `sis_info133' sata_sis.c:(.text+0x7634d6): undefined reference to `sis_info133' While I was at it, I also moved the prototype of this struct to a header file. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Jeff Garzik <jeff@garzik.org> Cc: Tejun Heo <htejun@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r--drivers/ata/libata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h
index 81ae41d..94eeb3d 100644
--- a/drivers/ata/libata.h
+++ b/drivers/ata/libata.h
@@ -136,4 +136,7 @@ extern void ata_qc_schedule_eh(struct ata_queued_cmd *qc);
/* libata-sff.c */
extern u8 ata_irq_on(struct ata_port *ap);
+/* pata_sis.c */
+extern struct ata_port_info sis_info133;
+
#endif /* __LIBATA_H__ */