staging: vme: keep track of registered buses
authorManohar Vanga <manohar.vanga@cern.ch>
Fri, 12 Aug 2011 10:30:48 +0000 (12:30 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 22:10:50 +0000 (15:10 -0700)
commit733e3ef0d364b7e6757a897e7f1862a70c89305a
treeee7c9596202683a154c9e5987175a783dcfd8570
parent7f58f0255aec0b933e0b26ef64d3d533c362a3d3
staging: vme: keep track of registered buses

This patch adds a list which keeps track of all registered VME
buses. This is required for adding refcounting later to bridge
modules, something that is not currently implemented.

This is based on the changes introduced by Emilio G. Cota in the
patch:

    https://lkml.org/lkml/2010/10/25/486

Signed-off-by: Manohar Vanga <manohar.vanga@cern.ch>
Acked-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vme/vme.c
drivers/staging/vme/vme_bridge.h