From sprd bsp, regulator_init_complete() is fixed not to be called
and it causes unused function build waring. Remove the build warning.
Change-Id: I63d26fbe9b22d4bb4467f859d2ad762998be0931
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
/* init early to allow our consumers to complete system booting */
core_initcall(regulator_init);
+#if !defined(CONFIG_ARCH_SC)
static int __init regulator_init_complete(void)
{
struct regulator_dev *rdev;
return 0;
}
+#endif
/* FIXME:
* not all module driver enable regulator before use at now,