diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-31 01:23:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-31 01:23:17 -0700 |
commit | fd098316ef533e8441576f020ead4beab93154ce (patch) | |
tree | 6188bbbf2357585dbeeac9d055ef2e771b78bac8 /drivers/mtd/maps/sun_uflash.c | |
parent | 933b2a1d8d458d6fe12b5efd63a0432852c44d6d (diff) | |
download | op-kernel-dev-fd098316ef533e8441576f020ead4beab93154ce.zip op-kernel-dev-fd098316ef533e8441576f020ead4beab93154ce.tar.gz |
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/mtd/maps/sun_uflash.c')
-rw-r--r-- | drivers/mtd/maps/sun_uflash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/sun_uflash.c b/drivers/mtd/maps/sun_uflash.c index e931f1d..fd7a101 100644 --- a/drivers/mtd/maps/sun_uflash.c +++ b/drivers/mtd/maps/sun_uflash.c @@ -138,7 +138,7 @@ static int __devexit uflash_remove(struct of_device *op) return 0; } -static struct of_device_id uflash_match[] = { +static const struct of_device_id uflash_match[] = { { .name = UFLASH_OBPNAME, }, |