Merge remote-tracking branch 'moduleh/module.h-split'
[linux-2.6/next.git] / arch / arm / mach-pxa / include / mach / pxa930_rotary.h
blob053587caffdd82c7cb1f7d6335f107bc7e41f580
1 #ifndef __ASM_ARCH_PXA930_ROTARY_H
2 #define __ASM_ARCH_PXA930_ROTARY_H
4 /* NOTE:
6 * rotary can be either interpreted as a ralative input event (e.g.
7 * REL_WHEEL or REL_HWHEEL) or a specific key event (e.g. UP/DOWN
8 * or LEFT/RIGHT), depending on if up_key & down_key are assigned
9 * or rel_code is assigned a non-zero value. When all are non-zero,
10 * up_key and down_key will be preferred.
12 struct pxa930_rotary_platform_data {
13 int up_key;
14 int down_key;
15 int rel_code;
18 void __init pxa930_set_rotarykey_info(struct pxa930_rotary_platform_data *info);
20 #endif /* __ASM_ARCH_PXA930_ROTARY_H */