| /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| * Copyright (C) Altera Corporation 1998-2001 |
| * Copyright (C) 2010 NetUP Inc. |
| * Copyright (C) 2010 Igor M. Liplianin <liplianin@netup.ru> |
| int (*jtag_io) (void *dev, int tms, int tdi, int tdo); |
| #if defined(CONFIG_ALTERA_STAPL) || \ |
| (defined(CONFIG_ALTERA_STAPL_MODULE) && defined(MODULE)) |
| extern int altera_init(struct altera_config *config, const struct firmware *fw); |
| static inline int altera_init(struct altera_config *config, |
| const struct firmware *fw) |
| printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); |
| #endif /* CONFIG_ALTERA_STAPL */ |