From: Alexandre Bounine Date: Thu, 13 Jan 2011 01:00:39 +0000 (-0800) Subject: rapidio: integrate rio_switch into rio_dev X-Git-Tag: v2.6.38-rc1~306 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ded05782719d0f7e79af98be7cf88c7e23a90435;p=pandora-kernel.git rapidio: integrate rio_switch into rio_dev Convert RIO switches device structures (rio_dev + rio_switch) into a single allocation unit. This change is based on the fact that RIO switches are using common RIO device objects anyway. Allocating RIO switch objects as RIO devices with added space for switch information simplifies handling of RIO switch devices. Signed-off-by: Alexandre Bounine Cc: Kumar Gala Cc: Matt Porter Cc: Li Yang Cc: Thomas Moll Cc: Micha Nelissen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed