Commit f439b5c8 authored by Robert Jarzmik's avatar Robert Jarzmik

ARM: pxa: hx4700: fix the usb client

The usb client of the hx4700 is not working because no platform data is
declared. Fix it by adding the missing call.
Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
parent cd31b807
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
#include "devices.h" #include "devices.h"
#include "generic.h" #include "generic.h"
#include "udc.h"
/* Physical address space information */ /* Physical address space information */
...@@ -594,6 +595,8 @@ static struct platform_device gpio_vbus = { ...@@ -594,6 +595,8 @@ static struct platform_device gpio_vbus = {
}, },
}; };
static struct pxa2xx_udc_mach_info hx4700_udc_info;
/* /*
* Touchscreen - TSC2046 connected to SSP2 * Touchscreen - TSC2046 connected to SSP2
*/ */
...@@ -891,6 +894,7 @@ static void __init hx4700_init(void) ...@@ -891,6 +894,7 @@ static void __init hx4700_init(void)
gpio_set_value(GPIO71_HX4700_ASIC3_nRESET, 1); gpio_set_value(GPIO71_HX4700_ASIC3_nRESET, 1);
mdelay(10); mdelay(10);
pxa_set_udc_info(&hx4700_udc_info);
regulator_has_full_constraints(); regulator_has_full_constraints();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment