diff options
| -rw-r--r-- | drivers/ata/ahci_platform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c index 1d90690d85f7..1cc467bdb63d 100644 --- a/drivers/ata/ahci_platform.c +++ b/drivers/ata/ahci_platform.c | |||
| @@ -49,12 +49,12 @@ static struct platform_device_id ahci_devtype[] = { | |||
| 49 | }; | 49 | }; |
| 50 | MODULE_DEVICE_TABLE(platform, ahci_devtype); | 50 | MODULE_DEVICE_TABLE(platform, ahci_devtype); |
| 51 | 51 | ||
| 52 | struct ata_port_operations ahci_platform_ops = { | 52 | static struct ata_port_operations ahci_platform_ops = { |
| 53 | .inherits = &ahci_ops, | 53 | .inherits = &ahci_ops, |
| 54 | .host_stop = ahci_host_stop, | 54 | .host_stop = ahci_host_stop, |
| 55 | }; | 55 | }; |
| 56 | 56 | ||
| 57 | struct ata_port_operations ahci_platform_retry_srst_ops = { | 57 | static struct ata_port_operations ahci_platform_retry_srst_ops = { |
| 58 | .inherits = &ahci_pmp_retry_srst_ops, | 58 | .inherits = &ahci_pmp_retry_srst_ops, |
| 59 | .host_stop = ahci_host_stop, | 59 | .host_stop = ahci_host_stop, |
| 60 | }; | 60 | }; |
| @@ -323,7 +323,7 @@ disable_unprepare_clk: | |||
| 323 | } | 323 | } |
| 324 | #endif | 324 | #endif |
| 325 | 325 | ||
| 326 | SIMPLE_DEV_PM_OPS(ahci_pm_ops, ahci_suspend, ahci_resume); | 326 | static SIMPLE_DEV_PM_OPS(ahci_pm_ops, ahci_suspend, ahci_resume); |
| 327 | 327 | ||
| 328 | static const struct of_device_id ahci_of_match[] = { | 328 | static const struct of_device_id ahci_of_match[] = { |
| 329 | { .compatible = "snps,spear-ahci", }, | 329 | { .compatible = "snps,spear-ahci", }, |
