summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/class.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2010-01-18 14:45:05 +0100
committerRusty Russell <rusty@rustcorp.com.au>2010-02-24 04:52:41 +0100
commit38edf58d73c28b082ec808aecdeb0ef2b92af049 (patch)
treea0235a87189cc48efc4fb61a1a2d70ce386891e1 /drivers/rtc/class.c
parentvirtio: console: use vdev->priv to avoid accessing global var. (diff)
downloadlinux-38edf58d73c28b082ec808aecdeb0ef2b92af049.tar.xz
linux-38edf58d73c28b082ec808aecdeb0ef2b92af049.zip
virtio: console: don't assume a single console port.
Keep a list of all ports being used as a console, and provide a lock and a lookup function. The hvc callbacks only give us a vterm number, so we need to map this. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/rtc/class.c')
0 files changed, 0 insertions, 0 deletions