2 * (C) Copyright 2014 CompuLab, Ltd. <www.compulab.co.il>
4 * Authors: Igor Grinberg <grinberg@compulab.co.il>
6 * SPDX-License-Identifier: GPL-2.0+
12 #include <linux/errno.h>
14 void cl_print_pcb_info(void);
17 int cl_usb_hub_init(int gpio, const char *label);
18 void cl_usb_hub_deinit(int gpio);
19 #else /* !CONFIG_CMD_USB */
20 static inline int cl_usb_hub_init(int gpio, const char *label)
24 static inline void cl_usb_hub_deinit(int gpio) {}
25 #endif /* CONFIG_CMD_USB */
28 int cl_omap3_smc911x_init(int id, int cs, u32 base_addr,
29 int (*reset)(int), int rst_gpio);
30 #else /* !CONFIG_SMC911X */
31 static inline int cl_omap3_smc911x_init(int id, int cs, u32 base_addr,
32 int (*reset)(int), int rst_gpio)
36 #endif /* CONFIG_SMC911X */
38 #endif /* _CL_COMMON_ */