diff options
author | Tejun Heo <tj@kernel.org> | 2010-11-12 11:01:41 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-11-12 22:10:53 (GMT) |
commit | f60215a1302f03ad435f8365c0dd85bdb022cac3 (patch) | |
tree | 4be75a88d2c7498e34a363567dd35ab6c044fb0a | |
parent | 2a5f07b5ec098edc69e05fdd2f35d3fbb1235723 (diff) | |
download | linux-fsl-qoriq-f60215a1302f03ad435f8365c0dd85bdb022cac3.tar.xz |
pata_legacy: fix CONFIG_PATA_WINBOND_VLB_MODULE test
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>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r-- | drivers/ata/pata_legacy.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |