]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
fix CONFIG_SATA_SIS=y compile error
authorAdrian Bunk <bunk@stusta.de>
Tue, 30 Jan 2007 08:59:17 +0000 (00:59 -0800)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Feb 2007 22:39:34 +0000 (17:39 -0500)
commit77a527eadb425b60db3f5f0aae6a4c51c38e35e5
treea6636031ac808b137b03a244e87db771e9eb3573
parent9b14dec5adf47287a2b52fc9fdedd6a0e245daca
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>
drivers/ata/libata.h
drivers/ata/pata_sis.c
drivers/ata/sata_sis.c