Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69390
b: refs/heads/master
c: 8f740ef
h: refs/heads/master
v: v3
  • Loading branch information
Michael Hennerich authored and Dmitry Torokhov committed Oct 13, 2007
1 parent b020c62 commit adede4f
Show file tree
Hide file tree
Showing 6 changed files with 413 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 937ad5c1e35191d29d305280525394fe87f4ac4f
refs/heads/master: 8f740ef391fc81cb887fa08d213cf67b843cb3b7
6 changes: 3 additions & 3 deletions trunk/arch/blackfin/mach-bf548/boards/ezkit.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static struct platform_device bf54x_lq043_device = {
#endif

#if defined(CONFIG_KEYBOARD_BFIN) || defined(CONFIG_KEYBOARD_BFIN_MODULE)
static int bf548_keymap[] = {
static const unsigned int bf548_keymap[] = {
KEYVAL(0, 0, KEY_ENTER),
KEYVAL(0, 1, KEY_HELP),
KEYVAL(0, 2, KEY_0),
Expand All @@ -110,8 +110,8 @@ static int bf548_keymap[] = {
static struct bfin_kpad_platform_data bf54x_kpad_data = {
.rows = 4,
.cols = 4,
.keymap = bf548_keymap,
.keymapsize = ARRAY_SIZE(bf548_keymap),
.keymap = bf548_keymap,
.keymapsize = ARRAY_SIZE(bf548_keymap),
.repeat = 0,
.debounce_time = 5000, /* ns (5ms) */
.coldrive_time = 1000, /* ns (1ms) */
Expand Down
9 changes: 9 additions & 0 deletions trunk/drivers/input/keyboard/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -284,4 +284,13 @@ config KEYBOARD_MAPLE
To compile this driver as a module, choose M here: the
module will be called maple_keyb.

config KEYBOARD_BFIN
tristate "Blackfin BF54x keypad support"
depends on BF54x
help
Say Y here if you want to use the BF54x keypad.

To compile this driver as a module, choose M here: the
module will be called bf54x-keys.

endif
2 changes: 1 addition & 1 deletion trunk/drivers/input/keyboard/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ obj-$(CONFIG_KEYBOARD_GPIO) += gpio_keys.o
obj-$(CONFIG_KEYBOARD_HP6XX) += jornada680_kbd.o
obj-$(CONFIG_KEYBOARD_HP7XX) += jornada720_kbd.o
obj-$(CONFIG_KEYBOARD_MAPLE) += maple_keyb.o

obj-$(CONFIG_KEYBOARD_BFIN) += bf54x-keys.o
Loading

0 comments on commit adede4f

Please sign in to comment.