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 <[email protected]>
Signed-off-by: Philipp Zabel <[email protected]>
This commit is contained in:
Philipp Zabel 2018-12-13 12:22:32 +01:00
commit fdce60787f
3 changed files with 9 additions and 1 deletions

View file

@ -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>