Rotary can't be used as a wakeup source in all platform.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
        unsigned int rotary_rel_code;
        unsigned short debounce;        /* 0..17 */
        unsigned short mode;
+       unsigned short pm_wakeup;
 };
 
 /* CNT_CONFIG bitmasks */
 
        .rotary_button_key = KEY_ENTER,
        .debounce          = 10,        /* 0..17 */
        .mode              = ROT_QUAD_ENC | ROT_DEBE,
+       .pm_wakeup         = 1,
 };
 
 static struct resource bfin_rotary_resources[] = {
 
        .rotary_button_key = KEY_ENTER,
        .debounce          = 10,        /* 0..17 */
        .mode              = ROT_QUAD_ENC | ROT_DEBE,
+       .pm_wakeup         = 1,
 };
 
 static struct resource bfin_rotary_resources[] = {
 
        .rotary_button_key = KEY_ENTER,
        .debounce          = 10,        /* 0..17 */
        .mode              = ROT_QUAD_ENC | ROT_DEBE,
+       .pm_wakeup         = 1,
 };
 
 static struct resource bfin_rotary_resources[] = {