diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-12-12 13:41:40 +0300 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-01-31 23:31:20 +0400 |
commit | eb314a9497dbbbd14795a6cdba27eb3131ee7e25 (patch) | |
tree | 6ec49e35c54db8228e76374bbd1be9cc4f8c5a0e /chardev/char-null.c | |
parent | 32d955a4221535a1a2d8730e0520561ad7531efd (diff) |
char: make null_chr_write() the default method
All chardev must implement chr_write(), but parallel and null chardev
both use null_chr_write(). Move it to the base class, so we don't need
to export the function when splitting the chardev in respective files.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'chardev/char-null.c')
0 files changed, 0 insertions, 0 deletions