/* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef __SOC_TI_OMAP1_MUX_H #define __SOC_TI_OMAP1_MUX_H /* * This should not really be a global header, it reflects the * traditional way that omap1 does pin muxing without the * pinctrl subsystem. */ enum omap7xx_index { … }; enum omap1xxx_index { … }; #ifdef CONFIG_OMAP_MUX extern int omap_cfg_reg(unsigned long reg_cfg); #else static inline int omap_cfg_reg(unsigned long reg_cfg) { … } #endif #endif