![Robin Getz](/assets/img/avatar_default.png)
Bill Gatliff & David Brownell pointed out we were missing some copyrights, and licensing terms in some of the files in ./arch/blackfin, so this fixes things, and cleans them up. It also removes: - verbose GPL text(refer to the top level ./COPYING file) - file names (you are looking at the file) - bug url (it's in the ./MAINTAINERS file) - "or later" on GPL-2, when we did not have that right It also allows some Blackfin-specific assembly files to be under a BSD like license (for people to use them outside of Linux). Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
24 lines
465 B
C
24 lines
465 B
C
/*
|
|
* Copyright 2007-2008 Analog Devices Inc.
|
|
*
|
|
* Licensed under the GPL-2 or later.
|
|
*/
|
|
|
|
#ifndef _BFIN_KPAD_H
|
|
#define _BFIN_KPAD_H
|
|
|
|
struct bfin_kpad_platform_data {
|
|
int rows;
|
|
int cols;
|
|
const unsigned int *keymap;
|
|
unsigned short keymapsize;
|
|
unsigned short repeat;
|
|
u32 debounce_time; /* in ns */
|
|
u32 coldrive_time; /* in ns */
|
|
u32 keyup_test_interval; /* in ms */
|
|
};
|
|
|
|
#define KEYVAL(col, row, val) (((1 << col) << 24) | ((1 << row) << 16) | (val))
|
|
|
|
#endif
|