summaryrefslogtreecommitdiff
path: root/drivers/staging/vme/vme_bridge.h
diff options
context:
space:
mode:
authorManohar Vanga <manohar.vanga@cern.ch>2011-09-01 11:15:24 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-09 13:26:32 -0700
commitf6c39d4f2d350df049a844b658eb6b08c5833e51 (patch)
tree3496f6bffafffe081246da0bdcdf0ed9204ac1bd /drivers/staging/vme/vme_bridge.h
parent2192e60654c2b91de45dce44a23723f725603ce1 (diff)
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>
Diffstat (limited to 'drivers/staging/vme/vme_bridge.h')
-rw-r--r--drivers/staging/vme/vme_bridge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vme/vme_bridge.h b/drivers/staging/vme/vme_bridge.h
index 895967058297..4b8566eb7e34 100644
--- a/drivers/staging/vme/vme_bridge.h
+++ b/drivers/staging/vme/vme_bridge.h
@@ -114,7 +114,7 @@ struct vme_bridge {
void *driver_priv; /* Private pointer for the bridge driver */
struct list_head bus_list; /* list of VME buses */
- struct device dev[VME_SLOTS_MAX]; /* Device registered with
+ struct device *dev[VME_SLOTS_MAX]; /* Device registered with
* device model on VME bus
*/