Message ID | 1253625132-15050-3-git-send-email-ajay.gupta@ti.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 1a8b7bc0808fbd5bcc0b9bcbb6d3a8dc6f915881 |
Headers | show |
This patch has been applied to the linux-omap by youw fwiendly patch wobot. Branch in linux-omap: ehci Initial commit ID (Likely to change): 1a8b7bc0808fbd5bcc0b9bcbb6d3a8dc6f915881 PatchWorks http://patchwork.kernel.org/patch/49257/ Git (Likely to change, and takes a while to get mirrored) http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=1a8b7bc0808fbd5bcc0b9bcbb6d3a8dc6f915881 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index f77a99d..a10ecd9 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c @@ -748,7 +748,7 @@ static struct platform_driver ehci_hcd_omap_driver = { static const struct hc_driver ehci_omap_hc_driver = { .description = hcd_name, .product_desc = "OMAP-EHCI Host Controller", - .hcd_priv_size = sizeof(struct ehci_hcd_omap), + .hcd_priv_size = sizeof(struct ehci_hcd), /* * generic hardware linkage
hcd_priv_size has to be sizeof(struct ehci_hcd). - .hcd_priv_size = sizeof(struct ehci_hcd_omap), + .hcd_priv_size = sizeof(struct ehci_hcd), Without this kernel panic is observed in probe function. Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com> --- drivers/usb/host/ehci-omap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)