diff mbox series

reset: simple: export reset_simple_ops to be referred from modules

Message ID 1530699236-27867-1-git-send-email-hayashi.kunihiko@socionext.com
State Accepted
Commit 9ad39ab2807756ac9b0a3aca4457031ea814e658
Headers show
Series reset: simple: export reset_simple_ops to be referred from modules | expand

Commit Message

Kunihiko Hayashi July 4, 2018, 10:13 a.m. UTC
Allow reset_simple_ops to be referred from modules that use reset-simple
framework by adding EXPORT_SYMBOL_GPL.

Suggested-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>

---
 drivers/reset/reset-simple.c | 1 +
 1 file changed, 1 insertion(+)

This patch is due to the building issue as modules [1].
[1] https://lkml.org/lkml/2018/6/29/181

-- 
2.7.4

Comments

Philipp Zabel July 16, 2018, 10:20 a.m. UTC | #1
Hi Kunihiko,

On Wed, 2018-07-04 at 19:13 +0900, Kunihiko Hayashi wrote:
> Allow reset_simple_ops to be referred from modules that use reset-simple

> framework by adding EXPORT_SYMBOL_GPL.

> 

> Suggested-by: Masahiro Yamada <yamada.masahiro@socionext.com>

> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>

> ---

>  drivers/reset/reset-simple.c | 1 +

>  1 file changed, 1 insertion(+)

> 

> This patch is due to the building issue as modules [1].

> [1] https://lkml.org/lkml/2018/6/29/181

> 

> diff --git a/drivers/reset/reset-simple.c b/drivers/reset/reset-simple.c

> index f7ce891..a91107f 100644

> --- a/drivers/reset/reset-simple.c

> +++ b/drivers/reset/reset-simple.c

> @@ -87,6 +87,7 @@ const struct reset_control_ops reset_simple_ops = {

>  	.deassert	= reset_simple_deassert,

>  	.status		= reset_simple_status,

>  };

> +EXPORT_SYMBOL_GPL(reset_simple_ops);

>  

>  /**

>   * struct reset_simple_devdata - simple reset controller properties


Thank you, applied to reset/next.

regards
Philipp
diff mbox series

Patch

diff --git a/drivers/reset/reset-simple.c b/drivers/reset/reset-simple.c
index f7ce891..a91107f 100644
--- a/drivers/reset/reset-simple.c
+++ b/drivers/reset/reset-simple.c
@@ -87,6 +87,7 @@  const struct reset_control_ops reset_simple_ops = {
 	.deassert	= reset_simple_deassert,
 	.status		= reset_simple_status,
 };
+EXPORT_SYMBOL_GPL(reset_simple_ops);
 
 /**
  * struct reset_simple_devdata - simple reset controller properties