Remove unused functions build warnings.
Change-Id: I9181643757dc7a562c81a3ea7c204e5c06df8202
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
}
}
-static unsigned long sprd_hwspinlock_addr(unsigned int lock_id)
+static __maybe_unused unsigned long sprd_hwspinlock_addr(unsigned int lock_id)
{
unsigned long addr;
struct hwspinlock *lock;
sprd_record_hwlock_sts(lock_id, 0);
}
-static void __arch_default_lock(unsigned int lock_id, unsigned long *flags)
+static inline void __arch_default_lock(unsigned int lock_id, unsigned long *flags)
{
#ifdef CONFIG_SC_FPGA
/* for the hwspinlock not in the bitfile */
#endif
}
-static void __arch_default_unlock(unsigned int lock_id, unsigned long *flags)
+static inline void __arch_default_unlock(unsigned int lock_id, unsigned long *flags)
{
#ifdef CONFIG_SC_FPGA
/* for the hwspinlock not in the bitfile */