提交 641589bf 编写于 作者: J Jeff Garzik 提交者: Jeff Garzik

[libata] pata_cmd64x: whitespace cleanup

Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册