]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fs/pstore/ram.c: fix up section annotations
authorHannes Reinecke <hare@suse.de>
Sat, 3 Nov 2012 00:42:07 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 8 Nov 2012 04:08:28 +0000 (15:08 +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;