Re: [PATCH 06/10] arm: omap: usb: usbhs core device initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux