diff options
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/pata_pdc2027x.c | 2 | ||||
-rw-r--r-- | drivers/ata/sata_fsl.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ata/pata_pdc2027x.c b/drivers/ata/pata_pdc2027x.c index 3f94a886bb35..c76e65927b0e 100644 --- a/drivers/ata/pata_pdc2027x.c +++ b/drivers/ata/pata_pdc2027x.c | |||
@@ -63,7 +63,9 @@ enum { | |||
63 | }; | 63 | }; |
64 | 64 | ||
65 | static int pdc2027x_init_one(struct pci_dev *pdev, const struct pci_device_id *ent); | 65 | static int pdc2027x_init_one(struct pci_dev *pdev, const struct pci_device_id *ent); |
66 | #ifdef CONFIG_PM | ||
66 | static int pdc2027x_reinit_one(struct pci_dev *pdev); | 67 | static int pdc2027x_reinit_one(struct pci_dev *pdev); |
68 | #endif | ||
67 | static int pdc2027x_prereset(struct ata_link *link, unsigned long deadline); | 69 | static int pdc2027x_prereset(struct ata_link *link, unsigned long deadline); |
68 | static void pdc2027x_set_piomode(struct ata_port *ap, struct ata_device *adev); | 70 | static void pdc2027x_set_piomode(struct ata_port *ap, struct ata_device *adev); |
69 | static void pdc2027x_set_dmamode(struct ata_port *ap, struct ata_device *adev); | 71 | static void pdc2027x_set_dmamode(struct ata_port *ap, struct ata_device *adev); |
diff --git a/drivers/ata/sata_fsl.c b/drivers/ata/sata_fsl.c index 608f82fed632..dfc6fd0ac119 100644 --- a/drivers/ata/sata_fsl.c +++ b/drivers/ata/sata_fsl.c | |||
@@ -311,7 +311,7 @@ static void fsl_sata_set_irq_coalescing(struct ata_host *host, | |||
311 | intr_coalescing_ticks = ticks; | 311 | intr_coalescing_ticks = ticks; |
312 | spin_unlock(&host->lock); | 312 | spin_unlock(&host->lock); |
313 | 313 | ||
314 | DPRINTK("intrrupt coalescing, count = 0x%x, ticks = %x\n", | 314 | DPRINTK("interrupt coalescing, count = 0x%x, ticks = %x\n", |
315 | intr_coalescing_count, intr_coalescing_ticks); | 315 | intr_coalescing_count, intr_coalescing_ticks); |
316 | DPRINTK("ICC register status: (hcr base: 0x%x) = 0x%x\n", | 316 | DPRINTK("ICC register status: (hcr base: 0x%x) = 0x%x\n", |
317 | hcr_base, ioread32(hcr_base + ICC)); | 317 | hcr_base, ioread32(hcr_base + ICC)); |