Staging: vme: declare vme_calc_slot() as static
authorBill Pemberton <wfp5p@virginia.edu>
Wed, 28 Apr 2010 20:40:11 +0000 (16:40 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:53 +0000 (11:35 -0700)
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>
drivers/staging/vme/vme.c

index 58aa276764f3772daf2a83849897fcdbb0d0ce14..093fbffbf5574ac45dcae3d9928b3d4f9ff79e4f 100644 (file)
@@ -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;