提交 d938e1eb 编写于 作者: K Ksenija Stanojevic 提交者: Greg Kroah-Hartman

Staging: panel: Use u8 type

Declare om, im, omask and imask as u8 to remove any confusion if
that describes the 8 bits of the data bus on the parallel port.
Also change return type of lcd_write_data() to u8.
Signed-off-by: NKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 7a725972
......@@ -2042,11 +2042,11 @@ static void init_scan_timer(void)
* corresponding to out and in bits respectively.
* returns 1 if ok, 0 if error (in which case, nothing is written).
*/
static int input_name2mask(const char *name, pmask_t *mask, pmask_t *value,
char *imask, char *omask)
static u8 input_name2mask(const char *name, pmask_t *mask, pmask_t *value,
u8 *imask, u8 *omask)
{
static char sigtab[10] = "EeSsPpAaBb";
char im, om;
u8 im, om;
pmask_t m, v;
om = 0ULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册