mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 15:47:36 +00:00
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>
This commit is contained in:
parent
2a5f07b5ec
commit
f60215a130
1 changed files with 1 additions and 1 deletions
|
@ -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 pio_mask = ATA_PIO4; /* PIO range for autospeed devices */
|
||||||
static int iordy_mask = 0xFFFFFFFF; /* Use iordy if available */
|
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,
|
static int winbond = 1; /* Set to probe Winbond controllers,
|
||||||
give I/O port if non standard */
|
give I/O port if non standard */
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue