[PATCH 2.6.22-rc6+mboxjeff 1/3] pata_sis: compilation fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The exported symbol ata_port_info sis_info133_for_sata has 
not to be declared static.

Signed-off-by: Uwe Koziolek <uwe.koziolek@xxxxxxx>

--- a/drivers/ata/pata_sis.c	2007-06-30 02:42:43.000000000 +0200
+++ b/drivers/ata/pata_sis.c	2007-06-30 02:52:06.000000000 +0200
@@ -774,7 +774,7 @@
 	.udma_mask	= ATA_UDMA6,
 	.port_ops	= &sis_133_ops,
 };
-static const struct ata_port_info sis_info133_for_sata = {
+const struct ata_port_info sis_info133_for_sata = {
 	.sht		= &sis_sht,
 	.flags		= ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST,
 	.pio_mask	= 0x1f,	/* pio0-4 */

-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux