diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-31 12:23:17 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-31 12:23:17 +0400 |
commit | fd098316ef533e8441576f020ead4beab93154ce (patch) | |
tree | 6188bbbf2357585dbeeac9d055ef2e771b78bac8 /drivers/scsi | |
parent | 933b2a1d8d458d6fe12b5efd63a0432852c44d6d (diff) | |
download | linux-fd098316ef533e8441576f020ead4beab93154ce.tar.xz |
sparc: Annotate of_device_id arrays with const or __initdata.
As suggested by Stephen Rothwell.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/qlogicpti.c | 2 | ||||
-rw-r--r-- | drivers/scsi/sun_esp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c index b6ce82d3de3d..42807671512b 100644 --- a/drivers/scsi/qlogicpti.c +++ b/drivers/scsi/qlogicpti.c @@ -1415,7 +1415,7 @@ static int __devexit qpti_sbus_remove(struct of_device *op) return 0; } -static struct of_device_id qpti_match[] = { +static const struct of_device_id qpti_match[] = { { .name = "ptisp", .data = &qpti_template, diff --git a/drivers/scsi/sun_esp.c b/drivers/scsi/sun_esp.c index 97316ca28a7a..3d73aad4bc82 100644 --- a/drivers/scsi/sun_esp.c +++ b/drivers/scsi/sun_esp.c @@ -617,7 +617,7 @@ static int __devexit esp_sbus_remove(struct of_device *op) return 0; } -static struct of_device_id esp_match[] = { +static const struct of_device_id esp_match[] = { { .name = "SUNW,esp", }, |