#include #include #include "epoll2.h" #include "die.h" void set_epoll_descriptor(int fd_epoll, int action, int fd_toadd, int events) { int ret; struct epoll_event ev; memset(&ev, 0, sizeof(ev)); ev.events = events; ev.data.fd = fd_toadd; ret = epoll_ctl(fd_epoll, action, fd_toadd, &ev); if (ret < 0) panic("Cannot add socket for epoll!\n"); } int set_epoll_descriptor2(int fd_epoll, int action, int fd_toadd, int events) { struct epoll_event ev; memset(&ev, 0, sizeof(ev)); ev.events = events; ev.data.fd = fd_toadd; return epoll_ctl(fd_epoll, action, fd_toadd, &ev); } cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
gi/linux/net-next.git/commit/?h=nds-private-remove&id=47d03e48efa572109229aec9436948d92f44b689'>root/Documentation/i2c/fault-codes
diff options
ModeNameSize
context:
space:
mode:
authorAlexandre Bailon <abailon@baylibre.com>2016-11-28 17:30:54 +0100
committerSekhar Nori <nsekhar@ti.com>2016-12-01 19:52:12 +0530
commit47d03e48efa572109229aec9436948d92f44b689 (patch)
tree88ad1a281ab4e5463eb4216a42c9a753c49ca0c5 /Documentation/i2c/fault-codes
parent213971e7571e27f47b4e926904a9adf794925c51 (diff)
ARM: davinci_all_defconfig: Enable da8xx usb otg
The musb driver is enabled but the phy and the glue for the da8xx are not enabled. Enable them. Signed-off-by: Alexandre Bailon <abailon@baylibre.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'Documentation/i2c/fault-codes')