From: Sergei Shtylyov Date: Sat, 1 Jun 2013 21:33:56 +0000 (+0400) Subject: ehci-platform: add pre_setup() method to platform data X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~71^2~32^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=743fcce0a89e04dc511b4ea40eba8e3f7cec92d4;p=pandora-kernel.git ehci-platform: add pre_setup() method to platform data Sometimes there is a need to initialize some non-standard registers mapped to the EHCI region before accessing the standard EHCI registers. Add pre_setup() method with 'struct usb_hcd *' parameter to be called just before ehci_setup() to the 'ehci-platform' driver's platform data for this purpose... While at it, add the missing incomplete declaration of 'struct platform_device' to ... The patch has been tested on the Marzen and BOCK-W boards. Suggested-by: Alan Stern Signed-off-by: Sergei Shtylyov Acked-by: Kuninori Morimoto Acked-by: Alan Stern Signed-off-by: Simon Horman --- Reading git-diff-tree failed