mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 03:08:31 +00:00
e490ad25eb
This patch fix compilation error: drivers/mmc/zynq_sdhci.c:16:5: error: conflicting types for ‘zynq_sdhci_init’ int zynq_sdhci_init(phys_addr_t regbase) ^ In file included from drivers/mmc/zynq_sdhci.c:14:0: ./arch/arm/include/asm/arch/sys_proto.h:16:5: note: previous declaration of ‘zynq_sdhci_init’ was here int zynq_sdhci_init(unsigned long regbase); ^ Signed-off-by: Michal Simek <michal.simek@xilinx.com>
21 lines
485 B
C
21 lines
485 B
C
/*
|
|
* (C) Copyright 2014 - 2015 Xilinx, Inc.
|
|
* Michal Simek <michal.simek@xilinx.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _ASM_ARCH_SYS_PROTO_H
|
|
#define _ASM_ARCH_SYS_PROTO_H
|
|
|
|
/* Setup clk for network */
|
|
static inline void zynq_slcr_gem_clk_setup(u32 gem_id, unsigned long clk_rate)
|
|
{
|
|
}
|
|
|
|
int zynq_sdhci_init(phys_addr_t regbase);
|
|
int zynq_slcr_get_mio_pin_status(const char *periph);
|
|
|
|
unsigned int zynqmp_get_silicon_version(void);
|
|
|
|
#endif /* _ASM_ARCH_SYS_PROTO_H */
|