commit | d22a69892bd8f29e3096f6f54c2c00d8aec2e796 | [log] [tgz] |
---|---|---|
author | Amit Shah <amit.shah@redhat.com> | Thu Sep 02 18:20:59 2010 +0530 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Thu Oct 21 17:44:03 2010 +1030 |
tree | 3deb620fc46810c15ab2d3b3cfb09d960666b40e | |
parent | 04950cdf071b6e5aa4794c93ad3e3ce8a1c4aa8c [diff] |
virtio: console: Use cdev_alloc() instead of cdev_init() This moves to using cdev on the heap instead of it being embedded in the ports struct. This helps individual refcounting and will allow us to properly remove cdev structs after hot-unplugs and close operations. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>