Messages in this thread Patch in this message | | | Date | Mon, 15 Nov 2004 03:34:30 +0100 | From | Adrian Bunk <> | Subject | [2.6 patch] SCSI sr.c: make a struct static |
| |
The patch below makes a needlessly global struct static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |