[Armadeus-commitlog] SF.net SVN: armadeus:[1275] trunk/buildroot/target/device/armadeus/linux/ ker
Brought to you by:
sszy
|
From: <th...@us...> - 2009-05-14 08:55:18
|
Revision: 1275
http://armadeus.svn.sourceforge.net/armadeus/?rev=1275&view=rev
Author: thom25
Date: 2009-05-14 08:55:05 +0000 (Thu, 14 May 2009)
Log Message:
-----------
[LINUX] make pwm compile again
Modified Paths:
--------------
trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/281-apf27-armadeus-add_apf27.c.patch
Modified: trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/281-apf27-armadeus-add_apf27.c.patch
===================================================================
--- trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/281-apf27-armadeus-add_apf27.c.patch 2009-05-13 12:53:00 UTC (rev 1274)
+++ trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/281-apf27-armadeus-add_apf27.c.patch 2009-05-14 08:55:05 UTC (rev 1275)
@@ -115,12 +115,12 @@
+
+static int apf27_pwm_0_init(void)
+{
-+ return mxc_gpio_setup_multiple(mxc_pwm0_pins, ARRAY_SIZE(mxc_pwm0_pins), "PWM0");
++ return mxc_gpio_setup_multiple_pins(mxc_pwm0_pins, ARRAY_SIZE(mxc_pwm0_pins), "PWM0");
+}
+
+static int apf27_pwm_0_exit(void)
+{
-+ mxc_gpio_release_multiple(mxc_pwm0_pins, ARRAY_SIZE(mxc_pwm0_pins));
++ mxc_gpio_release_multiple_pins(mxc_pwm0_pins, ARRAY_SIZE(mxc_pwm0_pins));
+ return 0;
+}
+
@@ -1458,7 +1458,7 @@
+ mxc_register_device(&mxc_nand_device, &apf27_nand_board_info);
+
+#ifdef CONFIG_PWM
-+ mxc_register_device(&imx_pwm_device0, &apf27_pwm_0_data);
++ mxc_register_device(&mxc_pwm_device0, &apf27_pwm_0_data);
+#endif
+#ifdef CONFIG_WATCHDOG
+ mxc_register_device(&mxc_wdt, NULL);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|