diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/sata_sil24.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_sil24.c b/drivers/ata/sata_sil24.c index 55470f337e5..1e9140626a8 100644 --- a/drivers/ata/sata_sil24.c +++ b/drivers/ata/sata_sil24.c | |||
@@ -268,7 +268,7 @@ union sil24_cmd_block { | |||
268 | struct sil24_atapi_block atapi; | 268 | struct sil24_atapi_block atapi; |
269 | }; | 269 | }; |
270 | 270 | ||
271 | static struct sil24_cerr_info { | 271 | static const struct sil24_cerr_info { |
272 | unsigned int err_mask, action; | 272 | unsigned int err_mask, action; |
273 | const char *desc; | 273 | const char *desc; |
274 | } sil24_cerr_db[] = { | 274 | } sil24_cerr_db[] = { |
@@ -1019,7 +1019,7 @@ static void sil24_error_intr(struct ata_port *ap) | |||
1019 | 1019 | ||
1020 | /* deal with command error */ | 1020 | /* deal with command error */ |
1021 | if (irq_stat & PORT_IRQ_ERROR) { | 1021 | if (irq_stat & PORT_IRQ_ERROR) { |
1022 | struct sil24_cerr_info *ci = NULL; | 1022 | const struct sil24_cerr_info *ci = NULL; |
1023 | unsigned int err_mask = 0, action = 0; | 1023 | unsigned int err_mask = 0, action = 0; |
1024 | u32 context, cerr; | 1024 | u32 context, cerr; |
1025 | int pmp; | 1025 | int pmp; |