0b0f0ae3c8980a4bb87e447747a28f54360d37dc
[openwrt/svn-archive/archive.git] / target / linux / oxnas / patches-4.0 / 350-oxnas-reset.patch
1 Index: linux-4.0-rc4/drivers/reset/Kconfig
2 ===================================================================
3 --- linux-4.0-rc4.orig/drivers/reset/Kconfig
4 +++ linux-4.0-rc4/drivers/reset/Kconfig
5 @@ -12,4 +12,9 @@ menuconfig RESET_CONTROLLER
6
7 If unsure, say no.
8
9 +config RESET_CONTROLLER_OXNAS
10 + bool
11 + select RESET_CONTROLLER
12 +
13 source "drivers/reset/sti/Kconfig"
14 +
15 Index: linux-4.0-rc4/drivers/reset/Makefile
16 ===================================================================
17 --- linux-4.0-rc4.orig/drivers/reset/Makefile
18 +++ linux-4.0-rc4/drivers/reset/Makefile
19 @@ -1,4 +1,5 @@
20 obj-$(CONFIG_RESET_CONTROLLER) += core.o
21 +obj-$(CONFIG_RESET_CONTROLLER_OXNAS) += reset-ox820.o
22 obj-$(CONFIG_ARCH_SOCFPGA) += reset-socfpga.o
23 obj-$(CONFIG_ARCH_BERLIN) += reset-berlin.o
24 obj-$(CONFIG_ARCH_SUNXI) += reset-sunxi.o