summaryrefslogtreecommitdiff
path: root/drivers/staging/vme
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2010-04-28 20:40:11 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-11 18:35:53 (GMT)
commitb1a5fad4c36117b1399ed65899088fcb907e2cbd (patch)
treed20e5c272a7bde01f9700dece475811a0bb877f4 /drivers/staging/vme
parent1fe923ec740ad8d87e616afc50f5b00d88a75ed2 (diff)
downloadlinux-fsl-qoriq-b1a5fad4c36117b1399ed65899088fcb907e2cbd.tar.xz
Staging: vme: declare vme_calc_slot() as static
vme_calc_slot() is not used anywhere other than vme.c so it should be declared as static. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Martyn Welch <martyn.welch@ge.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vme')
-rw-r--r--drivers/staging/vme/vme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vme/vme.c b/drivers/staging/vme/vme.c
index 58aa276..093fbff 100644
--- a/drivers/staging/vme/vme.c
+++ b/drivers/staging/vme/vme.c
@@ -1408,7 +1408,7 @@ EXPORT_SYMBOL(vme_unregister_driver);
/* - Bus Registration ------------------------------------------------------ */
-int vme_calc_slot(struct device *dev)
+static int vme_calc_slot(struct device *dev)
{
struct vme_bridge *bridge;
int num;