]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fs/pstore/ram.c: fix up section annotations
authorHannes Reinecke <hare@suse.de>
Thu, 25 Oct 2012 01:14:42 +0000 (12:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 31 Oct 2012 05:49:42 +0000 (16:49 +1100)
The compiler complained about missing section annotations.  Fix it.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Cc: Anton Vorontsov <cbouatmailru@gmail.com>
Cc: Colin Cross <ccross@android.com>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.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;