]> git.baikalelectronics.ru Git - kernel.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)
commitbe1df6b9511f9c3783347406951f7fdab6c4460a
treea6636031ac808b137b03a244e87db771e9eb3573
parentf118df2014f81a525cb4ed01c141b453a1a1e0f7
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