ata: ahci: tegra: fix build error
Subsystems (2)
PATCH 1/1 ata: ahci: tegra: fix build error
Currently, ahci_tegra doesn't build because it includes a file that doesn't exist.
The problem is that first commit 306a7f9 (ARM: tegra: Move includes to include/soc/tegra) renamed include/linux/tegra-powergate.h to include/soc/tegra/powergate.h.
Later commit 7232398 (ARM: tegra: Convert PMC to a driver) renamed include/soc/tegra/powergate.h to include/soc/tegra/pmc.h and neither commits fixed drivers/ata/ahci_tegra.c.
Fix that so the driver has a chance of building. With current kernels.
--- drivers/ata/ahci_tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/ahci_tegra.c +1 -1
@@ -24,7 +24,7 @@#include <linux/module.h> #include <linux/of_device.h> #include <linux/platform_device.h> -#include <linux/tegra-powergate.h> +#include <soc/tegra/pmc.h> #include <linux/regulator/consumer.h> #include "ahci.h"
--
2.0.1.563.g66f467c
Signature · 1 line
balbi
Quoted 7 lines · Felipe Balbi
Currently,
ahci_tegradoesn't build because it includes a file that doesn't exist.The problem is that first commit 306a7f9 (ARM: tegra: Move includes to
include/soc/tegra) renamedinclude/linux/tegra-powergate.htoinclude/soc/tegra/powergate.h.
Quoted 7 lines
Later commit 7232398 (ARM: tegra: Convert PMC to a driver) renamed
include/soc/tegra/powergate.htoinclude/soc/tegra/pmc.hand neither commits fixeddrivers/ata/ahci_tegra.c.Fix that so the driver has a chance of building. With current kernels.
Cc <[email protected]> # v3.16
This driver first appeared in v3.17-rc1.
This patch has already been sent, and apparently applied:
https://lkml.org/lkml/2014/8/16/36
I wonder if libata/for-3.17-fixes isn't in linux-next?
Quoted 7 lines · Felipe Balbi
Currently,
ahci_tegradoesn't build because it includes a file that doesn't exist.The problem is that first commit 306a7f9 (ARM: tegra: Move includes to
include/soc/tegra) renamedinclude/linux/tegra-powergate.htoinclude/soc/tegra/powergate.h.
Quoted 5 lines
Later commit 7232398 (ARM: tegra: Convert PMC to a driver) renamed
include/soc/tegra/powergate.htoinclude/soc/tegra/pmc.hand neither commits fixeddrivers/ata/ahci_tegra.c.Fix that so the driver has a chance of building. With current kernels.
^
this period shouldn't exist :-p
Quoted 25 lines
Cc <[email protected]> # v3.16Signed-of-by Felipe Balbi <[email protected]>--- drivers/ata/ahci_tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/ata/ahci_tegra.c +1
-2@@ -24,7 +24,7 @@#include <linux/module.h> #include <linux/of_device.h> #include <linux/platform_device.h> -#include <linux/tegra-powergate.h> +#include <soc/tegra/pmc.h> #include <linux/regulator/consumer.h> #include "ahci.h" --2.0.1.563.g66f467c
Signature · 1 line
balbi
Signature · 1 line
balbi
Quoted 12 lines · Stephen Warren
Quoted 11 lines · Felipe Balbi
Currently,
ahci_tegradoesn't build because it includes a file that doesn't exist.The problem is that first commit 306a7f9 (ARM: tegra: Move includes to
include/soc/tegra) renamedinclude/linux/tegra-powergate.htoinclude/soc/tegra/powergate.h.Later commit 7232398 (ARM: tegra: Convert PMC to a driver) renamed
include/soc/tegra/powergate.htoinclude/soc/tegra/pmc.hand neither commits fixeddrivers/ata/ahci_tegra.c.
Quoted 5 lines
Quoted 3 lines
Fix that so the driver has a chance of building. With current kernels.
Cc <[email protected]> # v3.16This driver first appeared in v3.17-rc1.
hmm... weird, git describe told v3.16-rc1 :-s
Quoted 3 lines
This patch has already been sent, and apparently applied:
aha, thanks.
Quoted 1 line
I wonder if libata/for-3.17-fixes isn't in linux-next?
it is, it's just that I was build testing my branch which is based off of v3.17-rc1 as of now.
Signature · 1 line
balbi
Hello,
Quoted 4 lines · Felipe Balbi
Quoted 1 line
I wonder if libata/for-3.17-fixes isn't in linux-next?
it is, it's just that I was build testing my branch which is based off of v3.17-rc1 as of now.
Yeah, I'm traveling and haven't had the chance to push it. I'll try to push it right now.
Thanks.
Signature · 1 line
tejun