add function for motor driver

This commit is contained in:
swj
2010-08-07 00:43:37 -07:00
parent 80250b3303
commit 4c761a0d34
2 changed files with 4 additions and 1 deletions

4
arch/arm/mach-rk2818/board-raho.c Normal file → Executable file
View File

@@ -663,7 +663,9 @@ static struct platform_device *devices[] __initdata = {
&android_usb_device,
&usb_mass_storage_device,
#endif
#ifdef CONFIG_ANDROID_TIMED_GPIO
&rk28_device_vibrator,
#endif
};
extern struct sys_timer rk2818_timer;

1
arch/arm/mach-rk2818/devices.h Normal file → Executable file
View File

@@ -54,5 +54,6 @@ extern struct platform_device rk2818_device_dwc_otg;
extern struct platform_device rk2818_device_host11;
extern struct platform_device android_usb_device;
extern struct platform_device usb_mass_storage_device;
extern struct platform_device rk28_device_vibrator;
#endif