aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/patches-3.14/350-oxnas-reset.patch
blob: 8878868d4d9e5ee40af5bd496745d975f0b9a077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -11,3 +11,7 @@ menuconfig RESET_CONTROLLER
 	  via GPIOs or SoC-internal reset controller modules.
 
 	  If unsure, say no.
+
+config RESET_CONTROLLER_OXNAS
+	bool
+	select RESET_CONTROLLER
--- a/drivers/reset/Makefile
+++ b/drivers/reset/Makefile
@@ -1,2 +1,3 @@
 obj-$(CONFIG_RESET_CONTROLLER) += core.o
+obj-$(CONFIG_RESET_CONTROLLER_OXNAS) += reset-ox820.o
 obj-$(CONFIG_ARCH_SUNXI) += reset-sunxi.o