aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.3/865-gpiopwm.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-07-28 20:47:08 +0000
committerJohn Crispin <blogic@openwrt.org>2012-07-28 20:47:08 +0000
commit841bbe2dbd9e7b838351898c3494c06b44a55b6e (patch)
tree13ea7bdfdd6e40937e1b52e56a66ba84d26b1cf7 /target/linux/generic/patches-3.3/865-gpiopwm.patch
parent388d1df96152148e5d6812963f8195dc7391ef86 (diff)
downloadupstream-841bbe2dbd9e7b838351898c3494c06b44a55b6e.tar.gz
upstream-841bbe2dbd9e7b838351898c3494c06b44a55b6e.tar.bz2
upstream-841bbe2dbd9e7b838351898c3494c06b44a55b6e.zip
[kernel] clean up pwm patches and drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32901 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.3/865-gpiopwm.patch')
-rw-r--r--target/linux/generic/patches-3.3/865-gpiopwm.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.3/865-gpiopwm.patch b/target/linux/generic/patches-3.3/865-gpiopwm.patch
new file mode 100644
index 0000000000..219de16257
--- /dev/null
+++ b/target/linux/generic/patches-3.3/865-gpiopwm.patch
@@ -0,0 +1,25 @@
+Index: linux-3.3.8/drivers/Kconfig
+===================================================================
+--- linux-3.3.8.orig/drivers/Kconfig 2012-06-01 09:16:13.000000000 +0200
++++ linux-3.3.8/drivers/Kconfig 2012-07-28 22:16:32.894397322 +0200
+@@ -60,6 +60,8 @@
+
+ source "drivers/gpio/Kconfig"
+
++source "drivers/pwm/Kconfig"
++
+ source "drivers/w1/Kconfig"
+
+ source "drivers/power/Kconfig"
+Index: linux-3.3.8/drivers/Makefile
+===================================================================
+--- linux-3.3.8.orig/drivers/Makefile 2012-06-01 09:16:13.000000000 +0200
++++ linux-3.3.8/drivers/Makefile 2012-07-28 22:16:17.990396684 +0200
+@@ -8,6 +8,7 @@
+ # GPIO must come after pinctrl as gpios may need to mux pins etc
+ obj-y += pinctrl/
+ obj-y += gpio/
++obj-$(CONFIG_GENERIC_PWM) += pwm/
+ obj-$(CONFIG_PCI) += pci/
+ obj-$(CONFIG_PARISC) += parisc/
+ obj-$(CONFIG_RAPIDIO) += rapidio/