From: Bill Pemberton Date: Wed, 28 Apr 2010 20:40:11 +0000 (-0400) Subject: Staging: vme: declare vme_calc_slot() as static X-Git-Tag: MMI-PSA29.97-13-9~23841^2^2~359 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1a5fad4c36117b1399ed65899088fcb907e2cbd;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Cc: Martyn Welch Signed-off-by: Greg Kroah-Hartman --- 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;