]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: at91: fix h32mx prototype inclusion in pmc header
authorNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 28 May 2015 13:07:21 +0000 (15:07 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 1 Jul 2015 19:37:14 +0000 (15:37 -0400)
commiteb01a7c90ac8c95feca00284a9256da44d7ccca2
treeda23a234cc6a28f6318086bcb700af421f2f61f8
parent66b03714fea97e8795f3eee6102db1f9a876d228
clk: at91: fix h32mx prototype inclusion in pmc header

[ Upstream commit 28df9c2fb6f896179fcffd5a3f5a86e2d1dff0a5 ]

Trivial fix that prevents to compile this pmc clock driver if h32mx clock is
present but smd clock isn't.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Fixes: bcc5fd49a0fd ("clk: at91: add a driver for the h32mx clock")
Cc: <stable@vger.kernel.org> # 3.18+
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/clk/at91/pmc.h