diff options
author | Martyn Welch <martyn.welch@ge.com> | 2013-11-08 11:58:35 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-03 11:15:58 -0800 |
commit | d7729f0fc40296f91b483dfb929e71b27cf75345 (patch) | |
tree | 6c6d2a0f7645831c5d0908bec40fa786814f2699 /include | |
parent | 978f47d64365fa1659178e54c5106154c315b595 (diff) | |
download | linux-stable-d7729f0fc40296f91b483dfb929e71b27cf75345.tar.gz linux-stable-d7729f0fc40296f91b483dfb929e71b27cf75345.tar.bz2 linux-stable-d7729f0fc40296f91b483dfb929e71b27cf75345.zip |
VME: Rename vme_slot_get to avoid confusion with reference counting
Traditionally the "get" functions increment the reference count of the
object that is returned, which does not happen with vme_slot_get. The
function vme_slot_get returns the physical VME slot associated with a
particular struct vme_dev. Rename vme_slot_num to avoid any confusion.
Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/vme.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/vme.h b/include/linux/vme.h index 4eb42c8f097d..8cd6f19ca518 100644 --- a/include/linux/vme.h +++ b/include/linux/vme.h @@ -164,7 +164,7 @@ int vme_lm_attach(struct vme_resource *, int, void (*callback)(int)); int vme_lm_detach(struct vme_resource *, int); void vme_lm_free(struct vme_resource *); -int vme_slot_get(struct vme_dev *); +int vme_slot_num(struct vme_dev *); int vme_bus_num(struct vme_dev *); int vme_register_driver(struct vme_driver *, unsigned int); |