aboutsummaryrefslogtreecommitdiff
path: root/chardev/char-null.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-12-12 13:41:40 +0300
committerMarc-André Lureau <marcandre.lureau@redhat.com>2017-01-31 23:31:20 +0400
commiteb314a9497dbbbd14795a6cdba27eb3131ee7e25 (patch)
tree6ec49e35c54db8228e76374bbd1be9cc4f8c5a0e /chardev/char-null.c
parent32d955a4221535a1a2d8730e0520561ad7531efd (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