mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
12 lines
357 B
Diff
12 lines
357 B
Diff
|
--- a/drivers/ata/pata_sc1200.c
|
||
|
+++ b/drivers/ata/pata_sc1200.c
|
||
|
@@ -236,7 +236,7 @@
|
||
|
.port_ops = &sc1200_port_ops
|
||
|
};
|
||
|
/* Can't enable port 2 yet, see top comments */
|
||
|
- const struct ata_port_info *ppi[] = { &info, };
|
||
|
+ const struct ata_port_info *ppi[] = { &info, &ata_dummy_port_info };
|
||
|
|
||
|
return ata_pci_sff_init_one(dev, ppi, &sc1200_sht, NULL);
|
||
|
}
|