All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH #upstream-fixes] pata_legacy: fix CONFIG_PATA_WINBOND_VLB_MODULE test
@ 2010-11-12 11:01 Tejun Heo
  0 siblings, 0 replies; only message in thread
From: Tejun Heo @ 2010-11-12 11:01 UTC (permalink / raw)
  To: Jeff Garzik, linux-ide@vger.kernel.org, Robert P. J. Day

pata_legacy is incorrectly testing PATA_WINBOND_VLB_MODULE instead of
CONFIG_PATA_WINBOND_VLB_MODULE.  Fix it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: "Robert P. J. Day" <rpjday@crashcourse.ca>
---
 drivers/ata/pata_legacy.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/pata_legacy.c b/drivers/ata/pata_legacy.c
index eaf1941..6bd9425 100644
--- a/drivers/ata/pata_legacy.c
+++ b/drivers/ata/pata_legacy.c
@@ -142,7 +142,7 @@ static int autospeed;		/* Chip present which snoops speed changes */
 static int pio_mask = ATA_PIO4;	/* PIO range for autospeed devices */
 static int iordy_mask = 0xFFFFFFFF;	/* Use iordy if available */

-#ifdef PATA_WINBOND_VLB_MODULE
+#ifdef CONFIG_PATA_WINBOND_VLB_MODULE
 static int winbond = 1;		/* Set to probe Winbond controllers,
 					give I/O port if non standard */
 #else

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-12 11:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-12 11:01 [PATCH #upstream-fixes] pata_legacy: fix CONFIG_PATA_WINBOND_VLB_MODULE test Tejun Heo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.