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~274^2~509 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77a527eadb425b60db3f5f0aae6a4c51c38e35e5;p=pandora-kernel.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 --- Reading git-diff-tree failed