reset: simple: export reset_simple_ops to be referred from modules
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Wed, 4 Jul 2018 10:13:56 +0000 (19:13 +0900)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 16 Jul 2018 10:15:54 +0000 (12:15 +0200)
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>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-simple.c

index f7ce8910a392ca77e235880f795e3e298ccf7eba..a91107fc9e272352a798301cddb34bae8bb3891c 100644 (file)
@@ -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