summaryrefslogtreecommitdiff
path: root/drivers/reset/reset-sunxi.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2018-12-13 14:22:32 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2019-01-28 13:16:04 +0300
commitfdce60787f6215607dc7ac910cbaf4416684b589 (patch)
tree9fc24099a280cb720baedc7ca91e639ef4dd7e76 /drivers/reset/reset-sunxi.c
parent37c7393962441a968428dd0d0b11dfb50917f4c3 (diff)
downloadlinux-fdce60787f6215607dc7ac910cbaf4416684b589.tar.xz
reset: sunxi: declare sun6i_reset_init in a header file
Avoid declaring extern functions in c files. To make sure function definition and usage don't get out of sync, declare sun6i_reset_init in a common header. Suggested-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset/reset-sunxi.c')
-rw-r--r--drivers/reset/reset-sunxi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/reset/reset-sunxi.c b/drivers/reset/reset-sunxi.c
index db9a1a75523f..b06d724d8f21 100644
--- a/drivers/reset/reset-sunxi.c
+++ b/drivers/reset/reset-sunxi.c
@@ -18,6 +18,7 @@
#include <linux/of_address.h>
#include <linux/platform_device.h>
#include <linux/reset-controller.h>
+#include <linux/reset/sunxi.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/types.h>