From 9c875129712511667bb6f68435ae8554cefcf53b Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 2 Feb 2008 19:56:38 +0100 Subject: [PATCH] --- yaml --- r: 82552 b: refs/heads/master c: 1bee4d1dce2d76bcf0bf9565298c62666de0fa1d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/ide/pci/pdc202xx_old.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index cd69e1e36591..dab53c976edf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fc6c5bc7c158d7ee7bb6e9ac1c64ae80da3d1580 +refs/heads/master: 1bee4d1dce2d76bcf0bf9565298c62666de0fa1d diff --git a/trunk/drivers/ide/pci/pdc202xx_old.c b/trunk/drivers/ide/pci/pdc202xx_old.c index 9ee72c99d080..da4329790387 100644 --- a/trunk/drivers/ide/pci/pdc202xx_old.c +++ b/trunk/drivers/ide/pci/pdc202xx_old.c @@ -138,7 +138,7 @@ static void pdc202xx_set_pio_mode(ide_drive_t *drive, const u8 pio) static u8 __devinit pdc2026x_old_cable_detect(ide_hwif_t *hwif) { struct pci_dev *dev = to_pci_dev(hwif->dev); - u16 CIS = 0, mask = (hwif->channel) ? (1<<11) : (1<<10); + u16 CIS, mask = hwif->channel ? (1 << 11) : (1 << 10); pci_read_config_word(dev, 0x50, &CIS);