forked from luck/tmp_suning_uos_patched
[libata] pata_cmd64x: whitespace cleanup
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
354b2eac38
commit
641589bff7
|
@ -423,7 +423,7 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
|||
.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],
|
||||
NULL
|
||||
|
@ -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)) {
|
||||
dev_printk(KERN_NOTICE, &pdev->dev, "Primary port is disabled\n");
|
||||
ppi[0] = &ata_dummy_port_info;
|
||||
|
||||
|
||||
}
|
||||
if (port_ok && !(reg & CNTRL_CH1)) {
|
||||
dev_printk(KERN_NOTICE, &pdev->dev, "Secondary port is disabled\n");
|
||||
|
|
Loading…
Reference in New Issue
Block a user