diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-31 04:23:17 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-31 04:23:17 -0400 |
commit | fd098316ef533e8441576f020ead4beab93154ce (patch) | |
tree | 6188bbbf2357585dbeeac9d055ef2e771b78bac8 /arch/sparc/kernel | |
parent | 933b2a1d8d458d6fe12b5efd63a0432852c44d6d (diff) |
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 'arch/sparc/kernel')
-rw-r--r-- | arch/sparc/kernel/apc.c | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/pmc.c | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/time.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc/kernel/apc.c b/arch/sparc/kernel/apc.c index 0a20cd85fd31..4dd1ba752ce6 100644 --- a/arch/sparc/kernel/apc.c +++ b/arch/sparc/kernel/apc.c | |||
@@ -182,7 +182,7 @@ static int __devinit apc_probe(struct of_device *op, | |||
182 | return 0; | 182 | return 0; |
183 | } | 183 | } |
184 | 184 | ||
185 | static struct of_device_id apc_match[] = { | 185 | static struct of_device_id __initdata apc_match[] = { |
186 | { | 186 | { |
187 | .name = APC_OBPNAME, | 187 | .name = APC_OBPNAME, |
188 | }, | 188 | }, |
diff --git a/arch/sparc/kernel/pmc.c b/arch/sparc/kernel/pmc.c index 9976e82e3233..814eb3ce039b 100644 --- a/arch/sparc/kernel/pmc.c +++ b/arch/sparc/kernel/pmc.c | |||
@@ -72,7 +72,7 @@ static int __devinit pmc_probe(struct of_device *op, | |||
72 | return 0; | 72 | return 0; |
73 | } | 73 | } |
74 | 74 | ||
75 | static struct of_device_id pmc_match[] = { | 75 | static struct of_device_id __initdata pmc_match[] = { |
76 | { | 76 | { |
77 | .name = PMC_OBPNAME, | 77 | .name = PMC_OBPNAME, |
78 | }, | 78 | }, |
diff --git a/arch/sparc/kernel/time.c b/arch/sparc/kernel/time.c index a713bb43db84..339c4762fbcf 100644 --- a/arch/sparc/kernel/time.c +++ b/arch/sparc/kernel/time.c | |||
@@ -338,7 +338,7 @@ static int __devinit clock_probe(struct of_device *op, const struct of_device_id | |||
338 | return 0; | 338 | return 0; |
339 | } | 339 | } |
340 | 340 | ||
341 | static struct of_device_id clock_match[] = { | 341 | static struct of_device_id __initdata clock_match[] = { |
342 | { | 342 | { |
343 | .name = "eeprom", | 343 | .name = "eeprom", |
344 | }, | 344 | }, |