pstore/ram: Fixup section annotations
authorHannes Reinecke <hare@suse.de>
Wed, 17 Oct 2012 07:39:49 +0000 (09:39 +0200)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Sat, 17 Nov 2012 02:42:06 +0000 (18:42 -0800)
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>
fs/pstore/ram.c

index 1a4f6da58eab4018878aab4275e1d3b6f3309b37..2b6ebbca352164bb06f95f8d03985823cce4568f 100644 (file)
@@ -287,8 +287,9 @@ static void ramoops_free_przs(struct ramoops_context *cxt)
        kfree(cxt->przs);
 }
 
-static int ramoops_init_przs(struct device *dev, struct ramoops_context *cxt,
-                             phys_addr_t *paddr, size_t dump_mem_sz)
+static int __devinit ramoops_init_przs(struct device *dev,
+                                      struct ramoops_context *cxt,
+                                      phys_addr_t *paddr, size_t dump_mem_sz)
 {
        int err = -ENOMEM;
        int i;
@@ -326,9 +327,10 @@ fail_prz:
        return err;
 }
 
-static int ramoops_init_prz(struct device *dev, struct ramoops_context *cxt,
-                           struct persistent_ram_zone **prz,
-                           phys_addr_t *paddr, size_t sz, u32 sig)
+static int __devinit ramoops_init_prz(struct device *dev,
+                                     struct ramoops_context *cxt,
+                                     struct persistent_ram_zone **prz,
+                                     phys_addr_t *paddr, size_t sz, u32 sig)
 {
        if (!sz)
                return 0;
This page took 0.02563 seconds and 5 git commands to generate.