From: Nikita Shubin Date: Fri, 28 Apr 2023 18:08:11 +0000 (+0300) Subject: fixup! ARM: ep93xx: soc: drop defines X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=62b059289019b05860259120d4b9139b64b7bff1;p=linux.git fixup! ARM: ep93xx: soc: drop defines --- diff --git a/include/linux/soc/cirrus/ep93xx.h b/include/linux/soc/cirrus/ep93xx.h index 77290f99f1145..393ec0570010e 100644 --- a/include/linux/soc/cirrus/ep93xx.h +++ b/include/linux/soc/cirrus/ep93xx.h @@ -10,14 +10,19 @@ #if defined(CONFIG_ARCH_EP93XX) unsigned int ep93xx_chip_revision(void); -#if defined(CONFIG_EP93XX_SOC) void ep93xx_devcfg_set_clear(unsigned int set_bits, unsigned int clear_bits); void ep93xx_syscon_swlocked_write(unsigned int val, unsigned int reg); void ep93xx_swlocked_update_bits(unsigned int reg, unsigned int mask, unsigned int val); -#endif #else static inline unsigned int ep93xx_chip_revision(void) { return 0; } +static inline void void ep93xx_devcfg_set_clear(unsigned int set_bits, + unsigned int clear_bits) { return 0; } +void ep93xx_syscon_swlocked_write(unsigned int val, unsigned int reg) + { return 0; } +void ep93xx_swlocked_update_bits(unsigned int reg, + unsigned int mask, unsigned int val) + { return 0; } #endif #endif