In osd code, there is not defined INSTABOOT code block, but some
code is not wrapped with the config option #ifdef. Fix to block
INSTABOOT code block with ifdef properly.
Change-Id: I6b87e3f6448d70a5fff6afa15414a9a2b7490ad7
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
#endif
#ifdef CONFIG_HIBERNATION
+#ifdef CONFIG_INSTABOOT
static int osd_realdata_save(void)
{
osd_realdata_save_hw();
.save = osd_realdata_save,
.restore = osd_realdata_restore,
};
+#endif
static int osd_freeze(struct device *dev)
{