Skip to content
Commit 6915c0e4 authored by Tomas Hlavacek's avatar Tomas Hlavacek Committed by Greg Kroah-Hartman
Browse files

tty: uartclk value from serial_core exposed to sysfs



Added file /sys/devices/.../tty/ttySX/uartclk to allow reading
uartclk value in struct uart_port in serial_core via sysfs.

tty_register_device() has been generalized and refactored in order
to add support for setting drvdata and attribute_group to the device.

Signed-off-by: default avatarTomas Hlavacek <tmshlvck@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d83b5425
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment