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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1fe923ec74
commit
b1a5fad4c3
@@ -1408,7 +1408,7 @@ EXPORT_SYMBOL(vme_unregister_driver);
|
|||||||
|
|
||||||
/* - Bus Registration ------------------------------------------------------ */
|
/* - Bus Registration ------------------------------------------------------ */
|
||||||
|
|
||||||
int vme_calc_slot(struct device *dev)
|
static int vme_calc_slot(struct device *dev)
|
||||||
{
|
{
|
||||||
struct vme_bridge *bridge;
|
struct vme_bridge *bridge;
|
||||||
int num;
|
int num;
|
||||||
|
Reference in New Issue
Block a user