]> git.karo-electronics.de Git - linux-beck.git/commit
staging: vme: change static device array to pointers
authorManohar Vanga <manohar.vanga@cern.ch>
Thu, 1 Sep 2011 09:15:24 +0000 (11:15 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Sep 2011 20:26:32 +0000 (13:26 -0700)
commitf6c39d4f2d350df049a844b658eb6b08c5833e51
tree3496f6bffafffe081246da0bdcdf0ed9204ac1bd
parent2192e60654c2b91de45dce44a23723f725603ce1
staging: vme: change static device array to pointers

Change the static array of 'struct device''s in struct vme_bridge
to instead use an array of pointers. This is in accordance with the
requirement that all kobjects be dynamically allocated (see
Documentation/kobject.txt) and never be statically allocated.

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