swconfig: cleanup of kernel drivers and interface
[openwrt.git] / target / linux / generic / patches-2.6.34 / 890-generic_pwm_api.patch
1 Patches from: Bill Gatliff <bgat@billgatliff.com>
2 Based on:
3 * Expunge old Atmel PWMC driver, replacing it with one that conforms to the PWM API
4 * Incorporate PWM API code into KBuild
5 Ignore the LEDS part atm
6 ---
7
8 --- a/drivers/misc/Makefile
9 +++ b/drivers/misc/Makefile
10 @@ -5,7 +5,6 @@
11  obj-$(CONFIG_IBM_ASM)          += ibmasm/
12  obj-$(CONFIG_HDPU_FEATURES)    += hdpuftrs/
13  obj-$(CONFIG_AD525X_DPOT)      += ad525x_dpot.o
14 -obj-$(CONFIG_ATMEL_PWM)                += atmel_pwm.o
15  obj-$(CONFIG_ATMEL_SSC)                += atmel-ssc.o
16  obj-$(CONFIG_ATMEL_TCLIB)      += atmel_tclib.o
17  obj-$(CONFIG_ICS932S401)       += ics932s401.o
18 --- a/drivers/Kconfig
19 +++ b/drivers/Kconfig
20 @@ -54,6 +54,8 @@ source "drivers/pps/Kconfig"
21  
22  source "drivers/gpio/Kconfig"
23  
24 +source "drivers/pwm/Kconfig"
25 +
26  source "drivers/w1/Kconfig"
27  
28  source "drivers/power/Kconfig"
29 --- a/drivers/Makefile
30 +++ b/drivers/Makefile
31 @@ -6,6 +6,8 @@
32  #
33  
34  obj-y                          += gpio/
35 +obj-$(CONFIG_GENERIC_PWM)      += pwm/
36 +
37  obj-$(CONFIG_PCI)              += pci/
38  obj-$(CONFIG_PARISC)           += parisc/
39  obj-$(CONFIG_RAPIDIO)          += rapidio/