From: Amit Shah Date: Thu, 2 Sep 2010 12:50:59 +0000 (+0530) Subject: virtio: console: Use cdev_alloc() instead of cdev_init() X-Git-Tag: v2.6.37-rc1~219^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d22a69892bd8f29e3096f6f54c2c00d8aec2e796;p=pandora-kernel.git 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 Signed-off-by: Rusty Russell --- Reading git-diff-tree failed