Commit 53f21a8e authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Anton Vorontsov

pstore/ram: Fixup section annotations

The compiler complained about missing section annotations.
Fix it.
Signed-off-by: default avatarHannes Reinecke <hare@suse.de>
Cc: Colin Cross <ccross@android.com>
Cc: Tony Luck <tony.luck@intel.com>
Acked-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarAnton Vorontsov <anton.vorontsov@linaro.org>
parent 70a6f46d
...@@ -287,7 +287,8 @@ static void ramoops_free_przs(struct ramoops_context *cxt) ...@@ -287,7 +287,8 @@ static void ramoops_free_przs(struct ramoops_context *cxt)
kfree(cxt->przs); kfree(cxt->przs);
} }
static int ramoops_init_przs(struct device *dev, struct ramoops_context *cxt, static int __devinit ramoops_init_przs(struct device *dev,
struct ramoops_context *cxt,
phys_addr_t *paddr, size_t dump_mem_sz) phys_addr_t *paddr, size_t dump_mem_sz)
{ {
int err = -ENOMEM; int err = -ENOMEM;
...@@ -326,7 +327,8 @@ static int ramoops_init_przs(struct device *dev, struct ramoops_context *cxt, ...@@ -326,7 +327,8 @@ static int ramoops_init_przs(struct device *dev, struct ramoops_context *cxt,
return err; return err;
} }
static int ramoops_init_prz(struct device *dev, struct ramoops_context *cxt, static int __devinit ramoops_init_prz(struct device *dev,
struct ramoops_context *cxt,
struct persistent_ram_zone **prz, struct persistent_ram_zone **prz,
phys_addr_t *paddr, size_t sz, u32 sig) phys_addr_t *paddr, size_t sz, u32 sig)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment