diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2010-04-28 16:40:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 11:35:53 -0700 |
commit | b1a5fad4c36117b1399ed65899088fcb907e2cbd (patch) | |
tree | d20e5c272a7bde01f9700dece475811a0bb877f4 | |
parent | 1fe923ec740ad8d87e616afc50f5b00d88a75ed2 (diff) |
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>
-rw-r--r-- | drivers/staging/vme/vme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vme/vme.c b/drivers/staging/vme/vme.c index 58aa276764f3..093fbffbf557 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; |