From: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org>
To: tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org,
thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Linux Kernel Mailing List
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: [PATCH] ata: ahci: tegra: fix build error
Date: Thu, 21 Aug 2014 14:08:24 -0500 [thread overview]
Message-ID: <20140821190824.GM11146@saruman.home> (raw)
[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]
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.
Cc: <stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> # v3.16
Signed-of-by: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org>
---
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..7194835 100644
--- a/drivers/ata/ahci_tegra.c
+++ b/drivers/ata/ahci_tegra.c
@@ -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
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next reply other threads:[~2014-08-21 19:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-21 19:08 Felipe Balbi [this message]
[not found] ` <20140821190824.GM11146-HgARHv6XitL9zxVx7UNMDg@public.gmane.org>
2014-08-21 19:17 ` [PATCH] ata: ahci: tegra: fix build error Stephen Warren
[not found] ` <53F645BA.4000402-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-08-21 19:21 ` Felipe Balbi
[not found] ` <20140821192134.GO11146-HgARHv6XitL9zxVx7UNMDg@public.gmane.org>
2014-08-21 19:31 ` Tejun Heo
2014-08-21 19:18 ` Felipe Balbi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140821190824.GM11146@saruman.home \
--to=balbi-l0cymroini0@public.gmane.org \
--cc=linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
--cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).