Messages in this thread Patch in this message | | | From | Mikko Perttunen <> | Subject | [PATCH] ata: ahci_tegra: Change include to fix compilation | Date | Mon, 11 Aug 2014 13:17:48 +0300 |
| |
Before this patch, the driver included <linux/tegra-powergate.h>, which was effectively renamed to <soc/tegra/pmc.h> at about the same time the ahci_tegra series landed. Fix the include path so that the driver compiles.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> --- This would be for 3.17.
drivers/ata/ahci_tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ata/ahci_tegra.c b/drivers/ata/ahci_tegra.c index fc3df47..f1fef74 100644 --- a/drivers/ata/ahci_tegra.c +++ b/drivers/ata/ahci_tegra.c @@ -24,8 +24,8 @@ #include <linux/module.h> #include <linux/of_device.h> #include <linux/platform_device.h> -#include <linux/tegra-powergate.h> #include <linux/regulator/consumer.h> +#include <soc/tegra/pmc.h> #include "ahci.h" #define SATA_CONFIGURATION_0 0x180 -- 1.8.1.5
| |