On Sat, Feb 26, 2011 at 04:36:34AM +0530, Keshava Munegowda wrote:
> +void __init usbhs_init(const struct usbhs_omap_board_data *pdata)
> +{
> + struct platform_device *pdev;
> + int i;
> +
> + pdev = platform_device_alloc(OMAP_USBHS_DEVICE, 0);
this particular pdev should be a static variable. Only his children
should be dynamically allocated.
--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html