aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sr.c
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2005-11-28 10:22:25 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2005-12-13 20:11:01 -0500
commit0ad78200baf1f85a21e6b26c225717ad80980d8f (patch)
tree7f5ffcd60c5bb1dd9a2ef943b2b0950bd5ac5b55 /drivers/scsi/sr.c
parentce155ccecd4094e7b5e68058d26db691713240fc (diff)
[SCSI] Mark some core scsi data structures const
patch below marks a few scsi core datastructures as const, so that they end up in the .rodata section and don't cacheline share with things that get dirtied Signed-off-by: Arjan van de Ven <arjan@infradead.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 d68cea753bb2..a3fa64cf6650 100644
--- a/drivers/scsi/sr.c
+++ b/drivers/scsi/sr.c
@@ -730,7 +730,7 @@ static void get_capabilities(struct scsi_cd *cd)
730 unsigned int the_result; 730 unsigned int the_result;
731 int retries, rc, n; 731 int retries, rc, n;
732 732
733 static char *loadmech[] = 733 static const char *loadmech[] =
734 { 734 {
735 "caddy", 735 "caddy",
736 "tray", 736 "tray",