diff options
author | Hannes Reinecke <hare@suse.de> | 2012-10-17 03:39:49 -0400 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-11-16 21:42:06 -0500 |
commit | 53f21a8ea1d76a002103ce20abd168fe83b20ee7 (patch) | |
tree | 34524b4025d4f28aaee8337583d442ba25aa2de0 /fs/pstore/ram.c | |
parent | 70a6f46d7b0ec03653b9ab3f8063a9717a4a53ef (diff) |
pstore/ram: Fixup section annotations
The compiler complained about missing section annotations.
Fix it.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Cc: Colin Cross <ccross@android.com>
Cc: Tony Luck <tony.luck@intel.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'fs/pstore/ram.c')
-rw-r--r-- | fs/pstore/ram.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index 1a4f6da58eab..2b6ebbca3521 100644 --- a/fs/pstore/ram.c +++ b/fs/pstore/ram.c | |||
@@ -287,8 +287,9 @@ static void ramoops_free_przs(struct ramoops_context *cxt) | |||
287 | kfree(cxt->przs); | 287 | kfree(cxt->przs); |
288 | } | 288 | } |
289 | 289 | ||
290 | static int ramoops_init_przs(struct device *dev, struct ramoops_context *cxt, | 290 | static int __devinit ramoops_init_przs(struct device *dev, |
291 | phys_addr_t *paddr, size_t dump_mem_sz) | 291 | struct ramoops_context *cxt, |
292 | phys_addr_t *paddr, size_t dump_mem_sz) | ||
292 | { | 293 | { |
293 | int err = -ENOMEM; | 294 | int err = -ENOMEM; |
294 | int i; | 295 | int i; |
@@ -326,9 +327,10 @@ fail_prz: | |||
326 | return err; | 327 | return err; |
327 | } | 328 | } |
328 | 329 | ||
329 | static int ramoops_init_prz(struct device *dev, struct ramoops_context *cxt, | 330 | static int __devinit ramoops_init_prz(struct device *dev, |
330 | struct persistent_ram_zone **prz, | 331 | struct ramoops_context *cxt, |
331 | phys_addr_t *paddr, size_t sz, u32 sig) | 332 | struct persistent_ram_zone **prz, |
333 | phys_addr_t *paddr, size_t sz, u32 sig) | ||
332 | { | 334 | { |
333 | if (!sz) | 335 | if (!sz) |
334 | return 0; | 336 | return 0; |