From: Manohar Vanga Date: Mon, 26 Sep 2011 09:27:15 +0000 (+0200) Subject: staging: vme: add struct vme_dev for VME devices X-Git-Tag: v3.2-rc1~169^2^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f966dc444b11adff6011a1d1fce424abdd876d8;p=pandora-kernel.git staging: vme: add struct vme_dev for VME devices Instead of using a vanilla 'struct device' for VME devices, add new 'struct vme_dev'. Modifications have been made to the VME framework API as well as all in-tree VME drivers. The new vme_dev structure has the following advantages from the current model used by the driver: * Driver functions (probe, remove) now receive a VME device instead of a pointer to the bridge device (cleaner design) * It's easier to differenciate API calls as bridge-based or device-based (ie. cleaner interface). Signed-off-by: Manohar Vanga Cc: Martyn Welch Reviewed-by: Emilio G. Cota Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed