From: Adrian Bunk Date: Tue, 30 Jan 2007 08:59:17 +0000 (-0800) Subject: fix CONFIG_SATA_SIS=y compile error X-Git-Tag: v2.6.21-rc1~91^2~516 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=77a527eadb425b60db3f5f0aae6a4c51c38e35e5;hp=77a527eadb425b60db3f5f0aae6a4c51c38e35e5;p=powerpc.git 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 Cc: Jeff Garzik Cc: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik ---