summaryrefslogtreecommitdiff
path: root/drivers/scsi/sr.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-07-09 11:59:59 -0700
committerJames Bottomley <jejb@mulgrave.localdomain>2007-07-18 11:16:32 -0500
commit44818efbad185eea75adad0e8cab97650a7370ab (patch)
tree0c0b3b856c390b1abb8071503d590dbb64731b1e /drivers/scsi/sr.c
parent9d720d82dc295521d70939c3f5edd54050730f09 (diff)
downloadlinux-3.10-44818efbad185eea75adad0e8cab97650a7370ab.tar.gz
linux-3.10-44818efbad185eea75adad0e8cab97650a7370ab.tar.bz2
linux-3.10-44818efbad185eea75adad0e8cab97650a7370ab.zip
[SCSI] small cleanups
This patch contains the following cleanups: - make needlessly global functions static - every file should #include the headers containing the prototypes for it's global functions Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sr.c')
-rw-r--r--drivers/scsi/sr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c
index 5143c899084..e7b6a7fde1c 100644
--- a/drivers/scsi/sr.c
+++ b/drivers/scsi/sr.c
@@ -175,7 +175,7 @@ static void scsi_cd_put(struct scsi_cd *cd)
* an inode for that to work, and we do not always have one.
*/
-int sr_media_change(struct cdrom_device_info *cdi, int slot)
+static int sr_media_change(struct cdrom_device_info *cdi, int slot)
{
struct scsi_cd *cd = cdi->handle;
int retval;