-
由 Alan Cox 提交于
write is optional for a tty device. Check that we have a write op rather than calling NULL. Signed-off-by: NAlan Cox <alan@linux.intel.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
c93f0940
write is optional for a tty device. Check that we have a write op rather than calling NULL. Signed-off-by: NAlan Cox <alan@linux.intel.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>