#include #include "screen.h" WINDOW *screen_init(bool israw) { WINDOW *screen = initscr(); if (israw) raw(); noecho(); cbreak(); nodelay(screen, TRUE); keypad(stdscr, TRUE); refresh(); wrefresh(screen); return screen; } void screen_end(void) { endwin(); } .ch/cgit.cgi/linux/net-next.git/atom/Documentation?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuqiang Ju <juruqiang@huawei.com>2016-10-24 16:39:49 +0800
committerWolfram Sang <wsa@the-dreams.de>2016-10-25 11:09:16 +0200
commitae824f00241f495e8d55ebdc0341f3ce61a77da6 (patch)
tree83697d8640def9fbca4c48addc1367ae6b53b5ce /Documentation
parent07d9a380680d1c0eb51ef87ff2eab5c994949e69 (diff)
i2c: hix5hd2: allow build with ARCH_HISI
This driver should be buildable with ARCH_HISI, because some of other HiSilicon SoCs also use it. Signed-off-by: Ruqiang Ju <juruqiang@huawei.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation')