[2.6 patch] SCSI sr.c: make a struct static

From: Adrian Bunk
Date: Sun Nov 14 2004 - 21:49:37 EST


The patch below makes a needlessly global struct static.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.10-rc1-mm5-full/drivers/scsi/sr.c.old 2004-11-14 01:29:29.000000000 +0100
+++ linux-2.6.10-rc1-mm5-full/drivers/scsi/sr.c 2004-11-14 01:29:39.000000000 +0100
@@ -512,7 +512,7 @@
return cdrom_media_changed(&cd->cdi);
}

-struct block_device_operations sr_bdops =
+static struct block_device_operations sr_bdops =
{
.owner = THIS_MODULE,
.open = sr_block_open,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/