summaryrefslogtreecommitdiff
path: root/ioexact.h
blob: c69552bf82f2aa33b2c831f94af2f7bafe444a4b (plain)
1
2
3
4
5
6
7
8
9
#ifndef IOEXACT_H
#define IOEXACT_H

#include <stdbool.h>

extern ssize_t read_exact(int fd, void *buf, size_t len, bool mayexit);
extern ssize_t write_exact(int fd, void *buf, size_t len, bool mayexit);

#endif /* IOEXACT_H */
/select>space:mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-07-19 15:24:47 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2016-07-19 19:06:34 -0700
commit441ac1fa9ecdccf9d54803e2548464ca83ad8514 (patch)
treec9309dc97998190d4dc96f73acb241bc0d7e2c6c /drivers
parent1bb61840c4db64e27f0077dcfc5389e662022d40 (diff)
greybus: interface: partition attribute group
Partition the current attribute group into four groups for UniPro, Greybus, power and common attributes. This is a step in refining the interface-type handling as attributes are type dependent. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/greybus/interface.c41
1 files changed, 38 insertions, 3 deletions
diff --git a/drivers/staging/greybus/interface.c b/drivers/staging/greybus/interface.c