[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061108173429.GB14991@shell0.pdx.osdl.net>
Date: Wed, 8 Nov 2006 09:34:29 -0800
From: Judith Lebzelter <judith@...l.org>
To: linuxppc-dev@...abs.org
Cc: sfr@...b.auug.org.au, hch@....de, paulus@...ba.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] powerpc iseries link error in allmodconfig
Choose rpa_vscsi.c over iseries_vscsi.c when building both
pseries and iseries. This fixes a link error.
Signed-off-by: Judith Lebzelter <judith@...l.org>
---
Index: linux/drivers/scsi/ibmvscsi/Makefile
===================================================================
--- linux.orig/drivers/scsi/ibmvscsi/Makefile 2006-11-06 16:52:09.000000000 -0800
+++ linux/drivers/scsi/ibmvscsi/Makefile 2006-11-07 09:35:34.019969437 -0800
@@ -1,7 +1,9 @@
obj-$(CONFIG_SCSI_IBMVSCSI) += ibmvscsic.o
ibmvscsic-y += ibmvscsi.o
+ifndef CONFIG_PPC_PSERIES
ibmvscsic-$(CONFIG_PPC_ISERIES) += iseries_vscsi.o
+endif
ibmvscsic-$(CONFIG_PPC_PSERIES) += rpa_vscsi.o
obj-$(CONFIG_SCSI_IBMVSCSIS) += ibmvstgt.o
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists