Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clk: at91: fix h32mx prototype inclusion in pmc header

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+

authored by

Nicolas Ferre and committed by
Boris Brezillon
28df9c2f c49bb94c

+1 -1
+1 -1
drivers/clk/at91/pmc.h
··· 120 120 struct at91_pmc *pmc); 121 121 #endif 122 122 123 - #if defined(CONFIG_HAVE_AT91_SMD) 123 + #if defined(CONFIG_HAVE_AT91_H32MX) 124 124 extern void __init of_sama5d4_clk_h32mx_setup(struct device_node *np, 125 125 struct at91_pmc *pmc); 126 126 #endif