mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Denis Efremov <yefremov.denis@gmail.com>
To: Mike Turquette <mturquette@linaro.org>
Cc: Denis Efremov <yefremov.denis@gmail.com>,
	Gregory CLEMENT <gregory.clement@free-electrons.com>,
	ldv-project@linuxtesting.org, linux-kernel@vger.kernel.org
Subject: [PATCH] clk: fixed-factor: remove exported function from __init section
Date: Mon,  6 May 2013 13:48:38 +0400	[thread overview]
Message-ID: <1367833718-2626-1-git-send-email-yefremov.denis@gmail.com> (raw)

The symbol of_fixed_factor_clk_setup is exported and annotated __init.
It looks like section mismatch. Fix by removing the __init annotation of
of_fixed_factor_clk_setup. The patch is similar to e4eda8e06.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Denis Efremov <yefremov.denis@gmail.com>
---
 drivers/clk/clk-fixed-factor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/clk-fixed-factor.c b/drivers/clk/clk-fixed-factor.c
index 9ff7d51..4022297 100644
--- a/drivers/clk/clk-fixed-factor.c
+++ b/drivers/clk/clk-fixed-factor.c
@@ -101,7 +101,7 @@ struct clk *clk_register_fixed_factor(struct device *dev, const char *name,
 /**
  * of_fixed_factor_clk_setup() - Setup function for simple fixed factor clock
  */
-void __init of_fixed_factor_clk_setup(struct device_node *node)
+void of_fixed_factor_clk_setup(struct device_node *node)
 {
 	struct clk *clk;
 	const char *clk_name = node->name;
-- 
1.8.1.4


                 reply	other threads:[~2013-05-06  9:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1367833718-2626-1-git-send-email-yefremov.denis@gmail.com \
    --to=yefremov.denis@gmail.com \
    --cc=gregory.clement@free-electrons.com \
    --cc=ldv-project@linuxtesting.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®