]> git.itanic.dy.fi Git - linux-stable/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Jun 2015 19:29:07 +0000 (12:29 -0700)
commit93db01c6c3c88e045181d14bb725d316f8967271
tree3f62cf41010269211c52061db6a99ffb8feb46de
parent425acc53f004527303496adec2c9c26b6e8932de
clk: at91: fix h32mx prototype inclusion in pmc header

commit 28df9c2fb6f896179fcffd5a3f5a86e2d1dff0a5 upstream.

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")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/at91/pmc.h