mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Fixes the following W=1 kernel build warning(s): drivers/clk/spear/spear1310_clock.c:385:13: warning: no previous prototype for ‘spear1310_clk_init’ [-Wmissing-prototypes] drivers/clk/spear/spear1340_clock.c:442:13: warning: no previous prototype for ‘spear1340_clk_init’ [-Wmissing-prototypes] Cc: Viresh Kumar <[email protected]> Cc: Shiraz Hashim <[email protected]> Cc: Russell King <[email protected]> Cc: Rajeev Kumar <[email protected]> Cc: [email protected] Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
24 lines
610 B
C
24 lines
610 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2020 STMicroelectronics - All Rights Reserved
|
|
*
|
|
* Author: Lee Jones <[email protected]>
|
|
*/
|
|
|
|
#ifndef __LINUX_CLK_SPEAR_H
|
|
#define __LINUX_CLK_SPEAR_H
|
|
|
|
#ifdef CONFIG_MACH_SPEAR1310
|
|
void __init spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base);
|
|
#else
|
|
static inline void spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base) {}
|
|
#endif
|
|
|
|
#ifdef CONFIG_MACH_SPEAR1340
|
|
void __init spear1340_clk_init(void __iomem *misc_base);
|
|
#else
|
|
static inline void spear1340_clk_init(void __iomem *misc_base) {}
|
|
#endif
|
|
|
|
#endif
|