\r
static struct flash_timer flash_off_timer;\r
//for user defined if user want to customize the series , zyc\r
-#if CONFIG_OV2640_USER_DEFINED_SERIES\r
+#ifdef CONFIG_OV2640_USER_DEFINED_SERIES\r
#include "ov2640_user_series.c"\r
#else\r
/* init 800*600 SVGA */\r
if (qctrl)\r
sensor->info_priv.flash = qctrl->default_value;\r
\r
- hrtimer_init(&(flash_off_timer.timer), CLOCK_MONOTONIC, HRTIMER_MODE_REL);\r
flash_off_timer.icd = icd;\r
flash_off_timer.timer.function = flash_off_func;\r
#endif\r
kfree(sensor);\r
sensor = NULL;\r
}\r
+ hrtimer_init(&(flash_off_timer.timer), CLOCK_MONOTONIC, HRTIMER_MODE_REL);\r
SENSOR_DG("\n%s..%s..%d ret = %x \n",__FUNCTION__,__FILE__,__LINE__,ret);\r
return ret;\r
}\r