summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2012-05-08 09:41:18 +0200
committerBob Liu <lliubbo@gmail.com>2012-05-21 08:54:43 +0200
commit5b8163a3f906a007ecb0d261fe6e943ebfe6f14b (patch)
tree5f83023e69825019a74e96157aff5f41a4e8c00b /arch/blackfin/include
parentbfin_gpio: fix bf548-ezkit kernel fail to boot (diff)
downloadlinux-5b8163a3f906a007ecb0d261fe6e943ebfe6f14b.tar.xz
linux-5b8163a3f906a007ecb0d261fe6e943ebfe6f14b.zip
blackfin: rotary: Add pm_wakeup flag to platform data structure.
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>
Diffstat (limited to 'arch/blackfin/include')
-rw-r--r--arch/blackfin/include/asm/bfin_rotary.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/bfin_rotary.h b/arch/blackfin/include/asm/bfin_rotary.h
index 0b6910bdc57f..8895a750c70c 100644
--- a/arch/blackfin/include/asm/bfin_rotary.h
+++ b/arch/blackfin/include/asm/bfin_rotary.h
@@ -39,6 +39,7 @@ struct bfin_rotary_platform_data {
unsigned int rotary_rel_code;
unsigned short debounce; /* 0..17 */
unsigned short mode;
+ unsigned short pm_wakeup;
};
/* CNT_CONFIG bitmasks */