mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 19:26:51 +07:00
515d9b2c03
The last user of the deprecated struct ahci_platform_data has been cleaned up recently (SPEAr1340 got a proper PHY driver). Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
41 lines
1.3 KiB
C
41 lines
1.3 KiB
C
/*
|
|
* AHCI SATA platform driver
|
|
*
|
|
* Copyright 2004-2005 Red Hat, Inc.
|
|
* Jeff Garzik <jgarzik@pobox.com>
|
|
* Copyright 2010 MontaVista Software, LLC.
|
|
* Anton Vorontsov <avorontsov@ru.mvista.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2, or (at your option)
|
|
* any later version.
|
|
*/
|
|
|
|
#ifndef _AHCI_PLATFORM_H
|
|
#define _AHCI_PLATFORM_H
|
|
|
|
#include <linux/compiler.h>
|
|
|
|
struct device;
|
|
struct ata_port_info;
|
|
struct ahci_host_priv;
|
|
struct platform_device;
|
|
|
|
int ahci_platform_enable_clks(struct ahci_host_priv *hpriv);
|
|
void ahci_platform_disable_clks(struct ahci_host_priv *hpriv);
|
|
int ahci_platform_enable_resources(struct ahci_host_priv *hpriv);
|
|
void ahci_platform_disable_resources(struct ahci_host_priv *hpriv);
|
|
struct ahci_host_priv *ahci_platform_get_resources(
|
|
struct platform_device *pdev);
|
|
int ahci_platform_init_host(struct platform_device *pdev,
|
|
struct ahci_host_priv *hpriv,
|
|
const struct ata_port_info *pi_template);
|
|
|
|
int ahci_platform_suspend_host(struct device *dev);
|
|
int ahci_platform_resume_host(struct device *dev);
|
|
int ahci_platform_suspend(struct device *dev);
|
|
int ahci_platform_resume(struct device *dev);
|
|
|
|
#endif /* _AHCI_PLATFORM_H */
|