Commit 641589bf authored by Jeff Garzik's avatar Jeff Garzik Committed by Jeff Garzik

[libata] pata_cmd64x: whitespace cleanup

Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 354b2eac
...@@ -423,7 +423,7 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id) ...@@ -423,7 +423,7 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
.port_ops = &cmd648_port_ops .port_ops = &cmd648_port_ops
} }
}; };
const struct ata_port_info *ppi[] = { const struct ata_port_info *ppi[] = {
&cmd_info[id->driver_data], &cmd_info[id->driver_data],
&cmd_info[id->driver_data], &cmd_info[id->driver_data],
NULL NULL
...@@ -478,7 +478,7 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id) ...@@ -478,7 +478,7 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
if (port_ok && cntrl_ch0_ok && !(reg & CNTRL_CH0)) { if (port_ok && cntrl_ch0_ok && !(reg & CNTRL_CH0)) {
dev_printk(KERN_NOTICE, &pdev->dev, "Primary port is disabled\n"); dev_printk(KERN_NOTICE, &pdev->dev, "Primary port is disabled\n");
ppi[0] = &ata_dummy_port_info; ppi[0] = &ata_dummy_port_info;
} }
if (port_ok && !(reg & CNTRL_CH1)) { if (port_ok && !(reg & CNTRL_CH1)) {
dev_printk(KERN_NOTICE, &pdev->dev, "Secondary port is disabled\n"); dev_printk(KERN_NOTICE, &pdev->dev, "Secondary port is disabled\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment