Skip to content

Commit

Permalink
Staging: vme: declare vme_calc_slot() as static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed May 11, 2010
1 parent 1fe923e commit b1a5fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/vme/vme.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b1a5fad

Please sign in to comment.