From a9e5aaac5e6b1659d6432a77e342eb5375e8e980 Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Fri, 5 Aug 2011 19:38:17 -0700 Subject: [PATCH] --- yaml --- r: 269317 b: refs/heads/master c: fc8cc1d5b192b829b39ca534e6273a05f10cee79 h: refs/heads/master i: 269315: e01335ac641aef12b5bb4ff0e9685b5b86029c83 v: v3 --- [refs] | 2 +- trunk/drivers/ata/sata_sil24.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index e10060c7cb39..0a2f062dfdcc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5e5a4f5d5a08c9c504fe956391ac3dae2c66556d +refs/heads/master: fc8cc1d5b192b829b39ca534e6273a05f10cee79 diff --git a/trunk/drivers/ata/sata_sil24.c b/trunk/drivers/ata/sata_sil24.c index 55470f337e51..1e9140626a83 100644 --- a/trunk/drivers/ata/sata_sil24.c +++ b/trunk/drivers/ata/sata_sil24.c @@ -268,7 +268,7 @@ union sil24_cmd_block { struct sil24_atapi_block atapi; }; -static struct sil24_cerr_info { +static const struct sil24_cerr_info { unsigned int err_mask, action; const char *desc; } sil24_cerr_db[] = { @@ -1019,7 +1019,7 @@ static void sil24_error_intr(struct ata_port *ap) /* deal with command error */ if (irq_stat & PORT_IRQ_ERROR) { - struct sil24_cerr_info *ci = NULL; + const struct sil24_cerr_info *ci = NULL; unsigned int err_mask = 0, action = 0; u32 context, cerr; int pmp;