From 7e1e5f1a42d6821240e2f21aa6832cc28857a5b7 Mon Sep 17 00:00:00 2001
From: Nikita Shubin <nikita.shubin@maquefel.me>
Date: Fri, 28 Apr 2023 21:08:11 +0300
Subject: [PATCH] fixup! ARM: ep93xx: soc: drop defines

---
 include/linux/soc/cirrus/ep93xx.h | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

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
-- 
2.30.2